import java.io.*; class yuki9001 { public static void main ( String[] args ) throws IOException { BufferedReader br = new BufferedReader ( new InputStreamReader ( System.in ) ); // 文字の入力 String strNum = br.readLine (); String str = br.readLine (); // 文字の抜き出し処理 char strNum1 = strNum.charAt ( 0 ); char strNum2 = strNum.charAt ( 2 ); int num1 = Character.getNumericValue ( strNum1 ); int num2 = Character.getNumericValue ( strNum2 ); System.out.print ( ( num1 + num2 ) + " " ); System.out.print ( str ); } }