import java.util.*;
abstract class Arithmetic
{
int a,b;
abstract void calc();
}
class Add extends Arithmetic
{
void calc()
{
System.out.println("The sum is " + (a+b));
}
}
class Sub extends Arithmetic
{
void calc()
{
System.out.println("The difference is " + (a-b));
}
}
class Abst
{
public static void main (String args[])
{
System.out.println("Enter any Two numbers : ");
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
Add obj1 = new Add();
obj1.calc();
Sub obj2 = new Sub();
obj2.calc();
}
}