public static void main(String[] args) {
String s;
int i, n = args.length;
for (i = 0; i < n; ++i)
if (args[i].equals("-country"))
break;
s = i + 1 < n ? args[i + 1] : "Canada";
out.println(s);
}
public static void main(String[] args) {
String s;
int i, n = args.length;
for (i = 0; i < n; ++i)
if (args[i].equals("-country"))
break;
s = i + 1 < n ? args[i + 1] : "Canada";
out.println(s);
}