#include <iostream>
using namespace std;
int main(){
int a,b;
cin >> a >> b;
cout << "Operatie:";cin >> op;
switch(op){
case 0;cout << a+b;break;
case 1: cout << a-b; break;
case 2: cout << a*b; break;
case 3:cout << "cat " << a/b << ", rest " << a%b;
}
return 0;
}