import java.io.*;
/* Die Klasse liest zwei ganze Zahlen und gibt die
   Ergebnisse verschiedener Operationen auf diesen beiden Zahlen aus*/
class Arithmetics {
  
    public static void main(String [] args){
      
      /* stdin represents the input, i.e., the input from the keyboard: */
      BufferedReader stdin = new  BufferedReader(new InputStreamReader(System.in));
                        
      /* a und b are variables for integer values */
      int a = 0;
      int b = 0;
                        
      /* Java Exception handling, don't care about that in the moment */
      try {
                        
        /* Outputs  "Enter two  ... :" on the screen */
        System.out.println("Enter two numbers and confirm the input of each with return:");
                                
        /* Read the first number from the input steam and store it in a */
        a = new Integer(stdin.readLine()).intValue();

        /* Read the second number from the input steam and store it in b */                          
        b = new Integer(stdin.readLine()).intValue();

      }catch(IOException e){
        e.printStackTrace();
      }

      /* Here you should insert your code for printing the sum of a and b: */
                        

  }
}