import java.util.Scanner;


public class Main {
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		
		for(;;)
		{
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();
			
			
			int c=0;
			switch(op)
			{
				case "?":
					return;
				case "+":
					c = a+b;
					break;
				case "-":
					c = a-b;
					break;
				case "*":
					c = a*b;
					break;
				case "/":
					c = a/b;
					break;
			}
			System.out.println(c);
		}
		
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		
		for(;;)
		{
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();
			
			
			int c=0;
			switch(op)
			{
				case "?":
					return;
				case "+":
					c = a+b;
					break;
				case "-":
					c = a-b;
					break;
				case "*":
					c = a*b;
					break;
				case "/":
					c = a/b;
					break;
			}
			System.out.println(c);
		}
		
	}
} Main public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		
		for(;;)
		{
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();
			
			
			int c=0;
			switch(op)
			{
				case "?":
					return;
				case "+":
					c = a+b;
					break;
				case "-":
					c = a-b;
					break;
				case "*":
					c = a*b;
					break;
				case "/":
					c = a/b;
					break;
			}
			System.out.println(c);
		}
		
	} main {
		Scanner scanner = new Scanner(System.in);
		
		for(;;)
		{
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();
			
			
			int c=0;
			switch(op)
			{
				case "?":
					return;
				case "+":
					c = a+b;
					break;
				case "-":
					c = a-b;
					break;
				case "*":
					c = a*b;
					break;
				case "/":
					c = a/b;
					break;
			}
			System.out.println(c);
		}
		
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) for(;;)
		{
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();
			
			
			int c=0;
			switch(op)
			{
				case "?":
					return;
				case "+":
					c = a+b;
					break;
				case "-":
					c = a-b;
					break;
				case "*":
					c = a*b;
					break;
				case "/":
					c = a/b;
					break;
			}
			System.out.println(c);
		} ; {
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();
			
			
			int c=0;
			switch(op)
			{
				case "?":
					return;
				case "+":
					c = a+b;
					break;
				case "-":
					c = a-b;
					break;
				case "*":
					c = a*b;
					break;
				case "/":
					c = a/b;
					break;
			}
			System.out.println(c);
		} {
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();
			
			
			int c=0;
			switch(op)
			{
				case "?":
					return;
				case "+":
					c = a+b;
					break;
				case "-":
					c = a-b;
					break;
				case "*":
					c = a*b;
					break;
				case "/":
					c = a/b;
					break;
			}
			System.out.println(c);
		} int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner String op = scanner.next(); op scanner.next() scanner.next scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c=0; c 0 switch(op)
			{
				case "?":
					return;
				case "+":
					c = a+b;
					break;
				case "-":
					c = a-b;
					break;
				case "*":
					c = a*b;
					break;
				case "/":
					c = a/b;
					break;
			} op case "?": "?" case "?": return; case "+": "+" case "+": c = a+b c a+b a b break; case "-": "-" case "-": c = a-b c a-b a b break; case "*": "*" case "*": c = a*b c a*b a b break; case "/": "/" case "/": c = a/b c a/b a b break; System.out.println(c) System.out.println System.out System System.out c String[] args args public class Main {
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		
		for(;;)
		{
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();
			
			
			int c=0;
			switch(op)
			{
				case "?":
					return;
				case "+":
					c = a+b;
					break;
				case "-":
					c = a-b;
					break;
				case "*":
					c = a*b;
					break;
				case "/":
					c = a/b;
					break;
			}
			System.out.println(c);
		}
		
	}
} public class Main {
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		
		for(;;)
		{
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();
			
			
			int c=0;
			switch(op)
			{
				case "?":
					return;
				case "+":
					c = a+b;
					break;
				case "-":
					c = a-b;
					break;
				case "*":
					c = a*b;
					break;
				case "/":
					c = a/b;
					break;
			}
			System.out.println(c);
		}
		
	}
} Main
import java.util.Scanner;


public class Main {
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		
		for(;;)
		{
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();
			
			
			int c=0;
			switch(op)
			{
				case "?":
					return;
				case "+":
					c = a+b;
					break;
				case "-":
					c = a-b;
					break;
				case "*":
					c = a*b;
					break;
				case "/":
					c = a/b;
					break;
			}
			System.out.println(c);
		}
		
	}
}