package test_1027;
import java.util.Scanner;
public class test {
public static void main(String[] args) {
// TODO Auto-generated method stub
//System.out.println("a");
Scanner sc = new Scanner(System.in);
System.out.println("please:");
int a= sc.nextInt();
//System.out.println(a);
System.out.println("please again:");
int b=sc.nextInt();
int c=(a>b) ? a :b;
System.out.println(c);
int d = a+b ;
System.out.println(d);
int temp =(a>b)?a:b;
int e=(temp>d)?temp:d;
System.out.println(e);
}
}