3 1 4
4
OJ多组测试数据的输入方式:
int n;
Scanner reader = new Scanner(System.in);
while( reader.hasNext()){
n = reader.nextInt();
}