#include <iostream>
using namespace std;
int main() {
int a, b, c;
char x;
cout << "enter a: ";
cin >> a;
cout << "enter b: ";
cin >> b;
cout << "enter operand: ";
cin >> x;
if (x == '+')
{
c = a + b;
}
else if (x == '-')
{
c = a - b;
}
else if (x == '*')
{
c = a * b;
}
else if (x == '/')
{
c = a / b;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgYSwgYiwgYzsKCWNoYXIgeDsKCWNvdXQgPDwgImVudGVyIGE6ICI7CgljaW4gPj4gYTsKCWNvdXQgPDwgImVudGVyIGI6ICI7CgljaW4gPj4gYjsKCWNvdXQgPDwgImVudGVyIG9wZXJhbmQ6ICI7CgljaW4gPj4geDsKCglpZiAoeCA9PSAnKycpCgl7CgkJYyA9IGEgKyBiOwoJfQoJZWxzZSBpZiAoeCA9PSAnLScpCgl7CgkJYyA9IGEgLSBiOwoJfQoJZWxzZSBpZiAoeCA9PSAnKicpCgl7CgkJYyA9IGEgKiBiOwoJfQoJZWxzZSBpZiAoeCA9PSAnLycpCgl7CgkJYyA9IGEgLyBiOwoJfQoKCXJldHVybiAwOwp9