import java.util.*;
class Main{
    Scanner sc=new Scanner(System.in);
    void main(){
	while(true){
	    int a=sc.nextInt();
	    String op=sc.next();
	    int b=sc.nextInt();
	    if(op.equals("?"))break;
	    int ans=a+b;
	    if(op.equals("-"))ans=a-b;
	    if(op.equals("*"))ans=a*b;
	    if(op.equals("/"))ans=a/b;
	    System.out.println(ans);
	}
	
    }
    public static void main(String[]ag){
	new Main().main();
    }
} import java.util.*; util.* java class Main{
    Scanner sc=new Scanner(System.in);
    void main(){
	while(true){
	    int a=sc.nextInt();
	    String op=sc.next();
	    int b=sc.nextInt();
	    if(op.equals("?"))break;
	    int ans=a+b;
	    if(op.equals("-"))ans=a-b;
	    if(op.equals("*"))ans=a*b;
	    if(op.equals("/"))ans=a/b;
	    System.out.println(ans);
	}
	
    }
    public static void main(String[]ag){
	new Main().main();
    }
} Main Scanner sc=new Scanner(System.in); sc new Scanner(System.in) void main(){
	while(true){
	    int a=sc.nextInt();
	    String op=sc.next();
	    int b=sc.nextInt();
	    if(op.equals("?"))break;
	    int ans=a+b;
	    if(op.equals("-"))ans=a-b;
	    if(op.equals("*"))ans=a*b;
	    if(op.equals("/"))ans=a/b;
	    System.out.println(ans);
	}
	
    } main {
	while(true){
	    int a=sc.nextInt();
	    String op=sc.next();
	    int b=sc.nextInt();
	    if(op.equals("?"))break;
	    int ans=a+b;
	    if(op.equals("-"))ans=a-b;
	    if(op.equals("*"))ans=a*b;
	    if(op.equals("/"))ans=a/b;
	    System.out.println(ans);
	}
	
    } while(true){
	    int a=sc.nextInt();
	    String op=sc.next();
	    int b=sc.nextInt();
	    if(op.equals("?"))break;
	    int ans=a+b;
	    if(op.equals("-"))ans=a-b;
	    if(op.equals("*"))ans=a*b;
	    if(op.equals("/"))ans=a/b;
	    System.out.println(ans);
	} true {
	    int a=sc.nextInt();
	    String op=sc.next();
	    int b=sc.nextInt();
	    if(op.equals("?"))break;
	    int ans=a+b;
	    if(op.equals("-"))ans=a-b;
	    if(op.equals("*"))ans=a*b;
	    if(op.equals("/"))ans=a/b;
	    System.out.println(ans);
	} int a=sc.nextInt(); a sc.nextInt() sc.nextInt sc String op=sc.next(); op sc.next() sc.next sc int b=sc.nextInt(); b sc.nextInt() sc.nextInt sc if(op.equals("?"))break; op.equals("?") op.equals op "?" break; int ans=a+b; ans a+b a b if(op.equals("-"))ans=a-b; op.equals("-") op.equals op "-" ans=a-b ans a-b a b if(op.equals("*"))ans=a*b; op.equals("*") op.equals op "*" ans=a*b ans a*b a b if(op.equals("/"))ans=a/b; op.equals("/") op.equals op "/" ans=a/b ans a/b a b System.out.println(ans) System.out.println System.out System System.out ans public static void main(String[]ag){
	new Main().main();
    } main {
	new Main().main();
    } new Main().main() new Main().main new Main() String[]ag ag
import java.util.*;
class Main{
    Scanner sc=new Scanner(System.in);
    void main(){
	while(true){
	    int a=sc.nextInt();
	    String op=sc.next();
	    int b=sc.nextInt();
	    if(op.equals("?"))break;
	    int ans=a+b;
	    if(op.equals("-"))ans=a-b;
	    if(op.equals("*"))ans=a*b;
	    if(op.equals("/"))ans=a/b;
	    System.out.println(ans);
	}
	
    }
    public static void main(String[]ag){
	new Main().main();
    }
}