#include <iostream> using namespace std; int main() { // 四则运算 int a, b; cin >> a >> b; if (1 <= a <= 9999 && 1 <= b <= 9999 && a > b) cout << a+b <<" "<< a-b <<" "<< a*b <<" "<< a/b << " "<< a % b; if (1 <= a <= 9999 && 1 <= b <= 9999 && a < b) cout << a+b <<" "<< b-a <<" "<< a*b <<" "<< b/a <<" "<< b % a; return 0; }