import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader stdReader =new BufferedReader(new InputStreamReader(System.in)); String[] temp; try { temp = stdReader.readLine().split(" "); int a = Integer.parseInt(temp[0]); int b = Integer.parseInt(temp[1]); System.out.println((a+b)+" "+stdReader.readLine()); } catch (IOException e) { // TODO 自動生成された catch ブロック e.printStackTrace(); } } }