import java.util.Scanner;
import java.lang.Math;
public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    int a = Integer.parseInt(inputs[0]);
	    String op = inputs[1];
	    int b = Integer.parseInt(inputs[2]);
	    if (op.equals("+")) {
		System.out.println(a+b);
	    } else if (op.equals("-")) {
		System.out.println(a-b);
	    } else if (op.equals("*")) {
		System.out.println(a*b);
	    } else if (op.equals("/")) {
		System.out.println(a/b);
	    } else if (op.equals("?")) {
		break;
	    }
	}
    }
} import java.util.Scanner; Scanner java.util import java.lang.Math; Math java.lang public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    int a = Integer.parseInt(inputs[0]);
	    String op = inputs[1];
	    int b = Integer.parseInt(inputs[2]);
	    if (op.equals("+")) {
		System.out.println(a+b);
	    } else if (op.equals("-")) {
		System.out.println(a-b);
	    } else if (op.equals("*")) {
		System.out.println(a*b);
	    } else if (op.equals("/")) {
		System.out.println(a/b);
	    } else if (op.equals("?")) {
		break;
	    }
	}
    }
} Main public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    int a = Integer.parseInt(inputs[0]);
	    String op = inputs[1];
	    int b = Integer.parseInt(inputs[2]);
	    if (op.equals("+")) {
		System.out.println(a+b);
	    } else if (op.equals("-")) {
		System.out.println(a-b);
	    } else if (op.equals("*")) {
		System.out.println(a*b);
	    } else if (op.equals("/")) {
		System.out.println(a/b);
	    } else if (op.equals("?")) {
		break;
	    }
	}
    } main {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    int a = Integer.parseInt(inputs[0]);
	    String op = inputs[1];
	    int b = Integer.parseInt(inputs[2]);
	    if (op.equals("+")) {
		System.out.println(a+b);
	    } else if (op.equals("-")) {
		System.out.println(a-b);
	    } else if (op.equals("*")) {
		System.out.println(a*b);
	    } else if (op.equals("/")) {
		System.out.println(a/b);
	    } else if (op.equals("?")) {
		break;
	    }
	}
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    int a = Integer.parseInt(inputs[0]);
	    String op = inputs[1];
	    int b = Integer.parseInt(inputs[2]);
	    if (op.equals("+")) {
		System.out.println(a+b);
	    } else if (op.equals("-")) {
		System.out.println(a-b);
	    } else if (op.equals("*")) {
		System.out.println(a*b);
	    } else if (op.equals("/")) {
		System.out.println(a/b);
	    } else if (op.equals("?")) {
		break;
	    }
	} scan.hasNext() scan.hasNext scan {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    int a = Integer.parseInt(inputs[0]);
	    String op = inputs[1];
	    int b = Integer.parseInt(inputs[2]);
	    if (op.equals("+")) {
		System.out.println(a+b);
	    } else if (op.equals("-")) {
		System.out.println(a-b);
	    } else if (op.equals("*")) {
		System.out.println(a*b);
	    } else if (op.equals("/")) {
		System.out.println(a/b);
	    } else if (op.equals("?")) {
		break;
	    }
	} String input = scan.nextLine(); input scan.nextLine() scan.nextLine scan String[] inputs = input.split(" "); inputs input.split(" ") input.split input " " int a = Integer.parseInt(inputs[0]); a Integer.parseInt(inputs[0]) Integer.parseInt Integer inputs[0] inputs 0 String op = inputs[1]; op inputs[1] inputs 1 int b = Integer.parseInt(inputs[2]); b Integer.parseInt(inputs[2]) Integer.parseInt Integer inputs[2] inputs 2 if (op.equals("+")) {
		System.out.println(a+b);
	    } else if (op.equals("-")) {
		System.out.println(a-b);
	    } else if (op.equals("*")) {
		System.out.println(a*b);
	    } else if (op.equals("/")) {
		System.out.println(a/b);
	    } else if (op.equals("?")) {
		break;
	    } op.equals("+") op.equals op "+" {
		System.out.println(a+b);
	    } System.out.println(a+b) System.out.println System.out System System.out a+b a b if (op.equals("-")) {
		System.out.println(a-b);
	    } else if (op.equals("*")) {
		System.out.println(a*b);
	    } else if (op.equals("/")) {
		System.out.println(a/b);
	    } else if (op.equals("?")) {
		break;
	    } op.equals("-") op.equals op "-" {
		System.out.println(a-b);
	    } System.out.println(a-b) System.out.println System.out System System.out a-b a b if (op.equals("*")) {
		System.out.println(a*b);
	    } else if (op.equals("/")) {
		System.out.println(a/b);
	    } else if (op.equals("?")) {
		break;
	    } op.equals("*") op.equals op "*" {
		System.out.println(a*b);
	    } System.out.println(a*b) System.out.println System.out System System.out a*b a b if (op.equals("/")) {
		System.out.println(a/b);
	    } else if (op.equals("?")) {
		break;
	    } op.equals("/") op.equals op "/" {
		System.out.println(a/b);
	    } System.out.println(a/b) System.out.println System.out System System.out a/b a b if (op.equals("?")) {
		break;
	    } op.equals("?") op.equals op "?" {
		break;
	    } break; String[] args args public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    int a = Integer.parseInt(inputs[0]);
	    String op = inputs[1];
	    int b = Integer.parseInt(inputs[2]);
	    if (op.equals("+")) {
		System.out.println(a+b);
	    } else if (op.equals("-")) {
		System.out.println(a-b);
	    } else if (op.equals("*")) {
		System.out.println(a*b);
	    } else if (op.equals("/")) {
		System.out.println(a/b);
	    } else if (op.equals("?")) {
		break;
	    }
	}
    }
} public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    int a = Integer.parseInt(inputs[0]);
	    String op = inputs[1];
	    int b = Integer.parseInt(inputs[2]);
	    if (op.equals("+")) {
		System.out.println(a+b);
	    } else if (op.equals("-")) {
		System.out.println(a-b);
	    } else if (op.equals("*")) {
		System.out.println(a*b);
	    } else if (op.equals("/")) {
		System.out.println(a/b);
	    } else if (op.equals("?")) {
		break;
	    }
	}
    }
} Main
import java.util.Scanner;
import java.lang.Math;
public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    int a = Integer.parseInt(inputs[0]);
	    String op = inputs[1];
	    int b = Integer.parseInt(inputs[2]);
	    if (op.equals("+")) {
		System.out.println(a+b);
	    } else if (op.equals("-")) {
		System.out.println(a-b);
	    } else if (op.equals("*")) {
		System.out.println(a*b);
	    } else if (op.equals("/")) {
		System.out.println(a/b);
	    } else if (op.equals("?")) {
		break;
	    }
	}
    }
}