// editor4
import java.util.*;
class main{
    public static int add(int a,int b,char c){
        try{
        switch(c)
        {
            case'+':
                return a+b;
            case'-':
                return a-b;
            case'*':
                return a*b;
            case'/':
                if(b==0)
                {
                    throw new ArithmeticException("Error: Invalid operation");
                }
                else{
                    return a/b;
                }
            default:
               return 0;
            
        }
}catch(ArithmeticException e)
{
    System.out.println(e.getMessage());
}
}

public static void main(String[] args)
    {
        Scanner sc=new Scanner (System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        char c=sc.next().charAt(0);
        System.out.println(add(a,b,c));
        
    }
}