import java.util.Scanner;
import java.io.*;
public class Test1005{
    public static void main (String args[]) {
        int a,b,sum,diff;
        Scanner in=new Scanner(System.in);
            a=in.nextInt();/*输入a的值*/
            b=in.nextInt();/*输入b的值*/
            sum=a+b;
            diff=a-b;
            System.out.println("The sum is"+sum);
            System.out.println("The diff is"+diff);
        
    }
}