import java.util.Scanner;


class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner( System.in);	
		double a,b;
		String op;
		
		while( true ) {
			a=kb.nextDouble();
			op=kb.next();
			b=kb.nextDouble();
			
			if( "?".equals( op) ) { break; }
			
			if( "+".equals( op) ) {
				System.out.printf( "%d\n", (int)a+(int)b );
			} else if( "-".equals( op) ) {
				System.out.printf( "%d\n", (int)a-(int)b );
			} else if( "*".equals( op) ) {
				System.out.printf( "%d\n", (int)a*(int)b );
			} else if( "/".equals( op) ) {
				System.out.printf( "%d\n", (int)a/(int)b );
			}
		}
			
	}
} import java.util.Scanner; Scanner java.util class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner( System.in);	
		double a,b;
		String op;
		
		while( true ) {
			a=kb.nextDouble();
			op=kb.next();
			b=kb.nextDouble();
			
			if( "?".equals( op) ) { break; }
			
			if( "+".equals( op) ) {
				System.out.printf( "%d\n", (int)a+(int)b );
			} else if( "-".equals( op) ) {
				System.out.printf( "%d\n", (int)a-(int)b );
			} else if( "*".equals( op) ) {
				System.out.printf( "%d\n", (int)a*(int)b );
			} else if( "/".equals( op) ) {
				System.out.printf( "%d\n", (int)a/(int)b );
			}
		}
			
	}
} Main public static void main(String[] args) {
		Scanner kb = new Scanner( System.in);	
		double a,b;
		String op;
		
		while( true ) {
			a=kb.nextDouble();
			op=kb.next();
			b=kb.nextDouble();
			
			if( "?".equals( op) ) { break; }
			
			if( "+".equals( op) ) {
				System.out.printf( "%d\n", (int)a+(int)b );
			} else if( "-".equals( op) ) {
				System.out.printf( "%d\n", (int)a-(int)b );
			} else if( "*".equals( op) ) {
				System.out.printf( "%d\n", (int)a*(int)b );
			} else if( "/".equals( op) ) {
				System.out.printf( "%d\n", (int)a/(int)b );
			}
		}
			
	} main {
		Scanner kb = new Scanner( System.in);	
		double a,b;
		String op;
		
		while( true ) {
			a=kb.nextDouble();
			op=kb.next();
			b=kb.nextDouble();
			
			if( "?".equals( op) ) { break; }
			
			if( "+".equals( op) ) {
				System.out.printf( "%d\n", (int)a+(int)b );
			} else if( "-".equals( op) ) {
				System.out.printf( "%d\n", (int)a-(int)b );
			} else if( "*".equals( op) ) {
				System.out.printf( "%d\n", (int)a*(int)b );
			} else if( "/".equals( op) ) {
				System.out.printf( "%d\n", (int)a/(int)b );
			}
		}
			
	} Scanner kb = new Scanner( System.in); kb new Scanner( System.in) double a a b; b String op; op while( true ) {
			a=kb.nextDouble();
			op=kb.next();
			b=kb.nextDouble();
			
			if( "?".equals( op) ) { break; }
			
			if( "+".equals( op) ) {
				System.out.printf( "%d\n", (int)a+(int)b );
			} else if( "-".equals( op) ) {
				System.out.printf( "%d\n", (int)a-(int)b );
			} else if( "*".equals( op) ) {
				System.out.printf( "%d\n", (int)a*(int)b );
			} else if( "/".equals( op) ) {
				System.out.printf( "%d\n", (int)a/(int)b );
			}
		} true {
			a=kb.nextDouble();
			op=kb.next();
			b=kb.nextDouble();
			
			if( "?".equals( op) ) { break; }
			
			if( "+".equals( op) ) {
				System.out.printf( "%d\n", (int)a+(int)b );
			} else if( "-".equals( op) ) {
				System.out.printf( "%d\n", (int)a-(int)b );
			} else if( "*".equals( op) ) {
				System.out.printf( "%d\n", (int)a*(int)b );
			} else if( "/".equals( op) ) {
				System.out.printf( "%d\n", (int)a/(int)b );
			}
		} a=kb.nextDouble() a kb.nextDouble() kb.nextDouble kb op=kb.next() op kb.next() kb.next kb b=kb.nextDouble() b kb.nextDouble() kb.nextDouble kb if( "?".equals( op) ) { break; } "?".equals( op) "?".equals "?" op { break; } break; if( "+".equals( op) ) {
				System.out.printf( "%d\n", (int)a+(int)b );
			} else if( "-".equals( op) ) {
				System.out.printf( "%d\n", (int)a-(int)b );
			} else if( "*".equals( op) ) {
				System.out.printf( "%d\n", (int)a*(int)b );
			} else if( "/".equals( op) ) {
				System.out.printf( "%d\n", (int)a/(int)b );
			} "+".equals( op) "+".equals "+" op {
				System.out.printf( "%d\n", (int)a+(int)b );
			} System.out.printf( "%d\n", (int)a+(int)b ) System.out.printf System.out System System.out "%d\n" (int)a+(int)b (int)a (int)b if( "-".equals( op) ) {
				System.out.printf( "%d\n", (int)a-(int)b );
			} else if( "*".equals( op) ) {
				System.out.printf( "%d\n", (int)a*(int)b );
			} else if( "/".equals( op) ) {
				System.out.printf( "%d\n", (int)a/(int)b );
			} "-".equals( op) "-".equals "-" op {
				System.out.printf( "%d\n", (int)a-(int)b );
			} System.out.printf( "%d\n", (int)a-(int)b ) System.out.printf System.out System System.out "%d\n" (int)a-(int)b (int)a (int)b if( "*".equals( op) ) {
				System.out.printf( "%d\n", (int)a*(int)b );
			} else if( "/".equals( op) ) {
				System.out.printf( "%d\n", (int)a/(int)b );
			} "*".equals( op) "*".equals "*" op {
				System.out.printf( "%d\n", (int)a*(int)b );
			} System.out.printf( "%d\n", (int)a*(int)b ) System.out.printf System.out System System.out "%d\n" (int)a*(int)b (int)a (int)b if( "/".equals( op) ) {
				System.out.printf( "%d\n", (int)a/(int)b );
			} "/".equals( op) "/".equals "/" op {
				System.out.printf( "%d\n", (int)a/(int)b );
			} System.out.printf( "%d\n", (int)a/(int)b ) System.out.printf System.out System System.out "%d\n" (int)a/(int)b (int)a (int)b String[] args args
import java.util.Scanner;


class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner( System.in);	
		double a,b;
		String op;
		
		while( true ) {
			a=kb.nextDouble();
			op=kb.next();
			b=kb.nextDouble();
			
			if( "?".equals( op) ) { break; }
			
			if( "+".equals( op) ) {
				System.out.printf( "%d\n", (int)a+(int)b );
			} else if( "-".equals( op) ) {
				System.out.printf( "%d\n", (int)a-(int)b );
			} else if( "*".equals( op) ) {
				System.out.printf( "%d\n", (int)a*(int)b );
			} else if( "/".equals( op) ) {
				System.out.printf( "%d\n", (int)a/(int)b );
			}
		}
			
	}
}