/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package scanning;
import java.util.Scanner;

/**
 *
 * @author kvaradar
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here

        Scanner s = new Scanner(System.in);
        int a,b;
        
        System.out.print("Enter First Number:");
        
        a = s.nextInt();
        
        System.out.print("Enter Second Number:");
        
        b = s.nextInt();
        
        System.out.println("Their sum is " + (a+b));
                
                
        
    }

}
