import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            int i=0;
            while ((line = br.readLine()) != null) {
            	String[] str=line.split(" ");
            	int a=Integer.parseInt(str[0]);
            	int b=Integer.parseInt(str[2]);
            	if(str[1].equals("?"))break;
            	else if(str[1].equals("+"))System.out.println(a+b);
            	else if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b);
            	
            }
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            int i=0;
            while ((line = br.readLine()) != null) {
            	String[] str=line.split(" ");
            	int a=Integer.parseInt(str[0]);
            	int b=Integer.parseInt(str[2]);
            	if(str[1].equals("?"))break;
            	else if(str[1].equals("+"))System.out.println(a+b);
            	else if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b);
            	
            }
        }
    }
} Main public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            int i=0;
            while ((line = br.readLine()) != null) {
            	String[] str=line.split(" ");
            	int a=Integer.parseInt(str[0]);
            	int b=Integer.parseInt(str[2]);
            	if(str[1].equals("?"))break;
            	else if(str[1].equals("+"))System.out.println(a+b);
            	else if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b);
            	
            }
        }
    } main {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            int i=0;
            while ((line = br.readLine()) != null) {
            	String[] str=line.split(" ");
            	int a=Integer.parseInt(str[0]);
            	int b=Integer.parseInt(str[2]);
            	if(str[1].equals("?"))break;
            	else if(str[1].equals("+"))System.out.println(a+b);
            	else if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b);
            	
            }
        }
    } boolean first=true; first true try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            int i=0;
            while ((line = br.readLine()) != null) {
            	String[] str=line.split(" ");
            	int a=Integer.parseInt(str[0]);
            	int b=Integer.parseInt(str[2]);
            	if(str[1].equals("?"))break;
            	else if(str[1].equals("+"))System.out.println(a+b);
            	else if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b);
            	
            }
        } {
            String line;
            int i=0;
            while ((line = br.readLine()) != null) {
            	String[] str=line.split(" ");
            	int a=Integer.parseInt(str[0]);
            	int b=Integer.parseInt(str[2]);
            	if(str[1].equals("?"))break;
            	else if(str[1].equals("+"))System.out.println(a+b);
            	else if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b);
            	
            }
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) new BufferedReader(new InputStreamReader(System.in)) String line; line int i=0; i 0 while ((line = br.readLine()) != null) {
            	String[] str=line.split(" ");
            	int a=Integer.parseInt(str[0]);
            	int b=Integer.parseInt(str[2]);
            	if(str[1].equals("?"))break;
            	else if(str[1].equals("+"))System.out.println(a+b);
            	else if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b);
            	
            } (line = br.readLine()) != null (line = br.readLine()) line br.readLine() br.readLine br null {
            	String[] str=line.split(" ");
            	int a=Integer.parseInt(str[0]);
            	int b=Integer.parseInt(str[2]);
            	if(str[1].equals("?"))break;
            	else if(str[1].equals("+"))System.out.println(a+b);
            	else if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b);
            	
            } String[] str=line.split(" "); str line.split(" ") line.split line " " int a=Integer.parseInt(str[0]); a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int b=Integer.parseInt(str[2]); b Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 if(str[1].equals("?"))break;
            	else if(str[1].equals("+"))System.out.println(a+b);
            	else if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b); str[1].equals("?") str[1].equals str[1] str 1 "?" break; if(str[1].equals("+"))System.out.println(a+b);
            	else if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b); str[1].equals("+") str[1].equals str[1] str 1 "+" System.out.println(a+b) System.out.println System.out System System.out a+b a b if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b); str[1].equals("-") str[1].equals str[1] str 1 "-" System.out.println(a-b) System.out.println System.out System System.out a-b a b if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b); str[1].equals("/") str[1].equals str[1] str 1 "/" System.out.println(a/b) System.out.println System.out System System.out a/b a b if(str[1].equals("*"))System.out.println(a*b); str[1].equals("*") str[1].equals str[1] str 1 "*" System.out.println(a*b) System.out.println System.out System System.out a*b a b String[] args args public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            int i=0;
            while ((line = br.readLine()) != null) {
            	String[] str=line.split(" ");
            	int a=Integer.parseInt(str[0]);
            	int b=Integer.parseInt(str[2]);
            	if(str[1].equals("?"))break;
            	else if(str[1].equals("+"))System.out.println(a+b);
            	else if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b);
            	
            }
        }
    }
} public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            int i=0;
            while ((line = br.readLine()) != null) {
            	String[] str=line.split(" ");
            	int a=Integer.parseInt(str[0]);
            	int b=Integer.parseInt(str[2]);
            	if(str[1].equals("?"))break;
            	else if(str[1].equals("+"))System.out.println(a+b);
            	else if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b);
            	
            }
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
        // TODO ?????????????????????????????????????????????
        
        boolean first=true;
        try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
            String line;
            int i=0;
            while ((line = br.readLine()) != null) {
            	String[] str=line.split(" ");
            	int a=Integer.parseInt(str[0]);
            	int b=Integer.parseInt(str[2]);
            	if(str[1].equals("?"))break;
            	else if(str[1].equals("+"))System.out.println(a+b);
            	else if(str[1].equals("-"))System.out.println(a-b);
            	else if(str[1].equals("/"))System.out.println(a/b);
            	else if(str[1].equals("*"))System.out.println(a*b);
            	
            }
        }
    }
}