import java.util.*;

class Main{
	static int a;
	static int b;
	static int c;
	static int d;
	static int e;
	static int p;
	static double f;
	static int g;
	static int h;
	static int i;
	static int j;
	static int k;
	static int l;
	static int m;
	static int o;
	static int q;
	static double r;
	static int s;
	static int t;
	static int u;
	static double x;
	static double y;
	private static Scanner sc;
	public static void main(String[]agrs){
		sc=new Scanner(System.in);
		a=sc.nextInt();
		String op=sc.next();
		b=sc.nextInt();
		int ans=0;
		while(true){
			if(op.equals("+"))ans=a+b;
			if(op.equals("-"))ans=a-b;
			else if(op.equals("*"))ans= a*b;
			else if(op.equals("/"))ans=a/b;
			else if(op.equals("?"))break;
			System.out.println(ans);
			a=sc.nextInt();
			op=sc.next();
			b=sc.nextInt();
			
			
		}
		
		
		
		
	}
} import java.util.*; util.* java class Main{
	static int a;
	static int b;
	static int c;
	static int d;
	static int e;
	static int p;
	static double f;
	static int g;
	static int h;
	static int i;
	static int j;
	static int k;
	static int l;
	static int m;
	static int o;
	static int q;
	static double r;
	static int s;
	static int t;
	static int u;
	static double x;
	static double y;
	private static Scanner sc;
	public static void main(String[]agrs){
		sc=new Scanner(System.in);
		a=sc.nextInt();
		String op=sc.next();
		b=sc.nextInt();
		int ans=0;
		while(true){
			if(op.equals("+"))ans=a+b;
			if(op.equals("-"))ans=a-b;
			else if(op.equals("*"))ans= a*b;
			else if(op.equals("/"))ans=a/b;
			else if(op.equals("?"))break;
			System.out.println(ans);
			a=sc.nextInt();
			op=sc.next();
			b=sc.nextInt();
			
			
		}
		
		
		
		
	}
} Main static int a; a static int b; b static int c; c static int d; d static int e; e static int p; p static double f; f static int g; g static int h; h static int i; i static int j; j static int k; k static int l; l static int m; m static int o; o static int q; q static double r; r static int s; s static int t; t static int u; u static double x; x static double y; y private static Scanner sc; sc public static void main(String[]agrs){
		sc=new Scanner(System.in);
		a=sc.nextInt();
		String op=sc.next();
		b=sc.nextInt();
		int ans=0;
		while(true){
			if(op.equals("+"))ans=a+b;
			if(op.equals("-"))ans=a-b;
			else if(op.equals("*"))ans= a*b;
			else if(op.equals("/"))ans=a/b;
			else if(op.equals("?"))break;
			System.out.println(ans);
			a=sc.nextInt();
			op=sc.next();
			b=sc.nextInt();
			
			
		}
		
		
		
		
	} main {
		sc=new Scanner(System.in);
		a=sc.nextInt();
		String op=sc.next();
		b=sc.nextInt();
		int ans=0;
		while(true){
			if(op.equals("+"))ans=a+b;
			if(op.equals("-"))ans=a-b;
			else if(op.equals("*"))ans= a*b;
			else if(op.equals("/"))ans=a/b;
			else if(op.equals("?"))break;
			System.out.println(ans);
			a=sc.nextInt();
			op=sc.next();
			b=sc.nextInt();
			
			
		}
		
		
		
		
	} sc=new Scanner(System.in) sc new Scanner(System.in) a=sc.nextInt() a sc.nextInt() sc.nextInt sc String op=sc.next(); op sc.next() sc.next sc b=sc.nextInt() b sc.nextInt() sc.nextInt sc int ans=0; ans 0 while(true){
			if(op.equals("+"))ans=a+b;
			if(op.equals("-"))ans=a-b;
			else if(op.equals("*"))ans= a*b;
			else if(op.equals("/"))ans=a/b;
			else if(op.equals("?"))break;
			System.out.println(ans);
			a=sc.nextInt();
			op=sc.next();
			b=sc.nextInt();
			
			
		} true {
			if(op.equals("+"))ans=a+b;
			if(op.equals("-"))ans=a-b;
			else if(op.equals("*"))ans= a*b;
			else if(op.equals("/"))ans=a/b;
			else if(op.equals("?"))break;
			System.out.println(ans);
			a=sc.nextInt();
			op=sc.next();
			b=sc.nextInt();
			
			
		} 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;
			else if(op.equals("*"))ans= a*b;
			else if(op.equals("/"))ans=a/b;
			else if(op.equals("?"))break; op.equals("-") op.equals op "-" ans=a-b ans a-b a b if(op.equals("*"))ans= a*b;
			else if(op.equals("/"))ans=a/b;
			else if(op.equals("?"))break; op.equals("*") op.equals op "*" ans= a*b ans a*b a b if(op.equals("/"))ans=a/b;
			else if(op.equals("?"))break; op.equals("/") op.equals op "/" ans=a/b ans a/b a b if(op.equals("?"))break; op.equals("?") op.equals op "?" break; System.out.println(ans) System.out.println System.out System System.out ans a=sc.nextInt() a sc.nextInt() sc.nextInt sc op=sc.next() op sc.next() sc.next sc b=sc.nextInt() b sc.nextInt() sc.nextInt sc String[]agrs agrs
import java.util.*;

class Main{
	static int a;
	static int b;
	static int c;
	static int d;
	static int e;
	static int p;
	static double f;
	static int g;
	static int h;
	static int i;
	static int j;
	static int k;
	static int l;
	static int m;
	static int o;
	static int q;
	static double r;
	static int s;
	static int t;
	static int u;
	static double x;
	static double y;
	private static Scanner sc;
	public static void main(String[]agrs){
		sc=new Scanner(System.in);
		a=sc.nextInt();
		String op=sc.next();
		b=sc.nextInt();
		int ans=0;
		while(true){
			if(op.equals("+"))ans=a+b;
			if(op.equals("-"))ans=a-b;
			else if(op.equals("*"))ans= a*b;
			else if(op.equals("/"))ans=a/b;
			else if(op.equals("?"))break;
			System.out.println(ans);
			a=sc.nextInt();
			op=sc.next();
			b=sc.nextInt();
			
			
		}
		
		
		
		
	}
}