import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
scanner.close();
//write your code here......
if(a>b){
System.out.println(a+b+" "+(a-b)+" "+a*b+" "+a/b+" "+a%b);
}else if(a<b){
System.out.println(a+b+" "+(b-a)+" "+a*b+" "+b/a+" "+b%a);
}
}
}
键盘扫描器接受我们要的的两个数字,用if语句来判断如果a>b,会怎样然后输出,else if a<b,会输出哪些.