System.in.println(temp+" "+temp2);
volevo dire
System.out.println(temp+" "+temp2);