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 < n ? args[i] : "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 < n ? args[i] : "Canada";
out.println(s);
}