import java.util.*; public class Main { public static void main(String args[]) throws Exception { Scanner cin = new Scanner(System.in); int a, b; while(cin.hasNextInt()) { a = cin.nextInt(); b = cin.nextInt(); System.out.println(a); System.out.println(b); } } }
String str = "11 22";
String[] result = str.split(" ");
System.out.println(result[0]);
System.out.println(result[1]);
{
public static void main(String args[]) throws Exception
{
Scanner cin = new Scanner(System.in);
int a, b;
while(cin.hasNextInt())
{
a = cin.nextInt();
b = cin.nextInt();
System.out.println(a);
System.out.println(b);
}
}
}