#include<bits/stdc++.h>
using namespace std;
int main(){
char c;
cin>>c;
switch(c){
case '+':cout<<"Add";break;
case '-':cout<<"Sub";break;
case '*':cout<<"Mul";break;
case '/':cout<<"Div";break;
case '%':cout<<"Mod";break;
default:cout<<"Error";
}
return 0;
}