import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       while(in.hasNextInt()) {
	       int a = in.nextInt();
	       char op = in.next().charAt(0);
	       int b = in.nextInt();

	       if(op=='?') return;

	       int ans = 0;
	       if(op == '+') {
		       ans=a+b;
	       } else if(op == '-') {
		       ans=a-b;
	       } else if(op == '*') {
		       ans=a*b;
	       } else if(op == '/') {
		       ans=a/b;
	       }
	       System.out.println(ans);
       }
    }
} import java.io.*; io.* java import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       while(in.hasNextInt()) {
	       int a = in.nextInt();
	       char op = in.next().charAt(0);
	       int b = in.nextInt();

	       if(op=='?') return;

	       int ans = 0;
	       if(op == '+') {
		       ans=a+b;
	       } else if(op == '-') {
		       ans=a-b;
	       } else if(op == '*') {
		       ans=a*b;
	       } else if(op == '/') {
		       ans=a/b;
	       }
	       System.out.println(ans);
       }
    }
} Main public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       while(in.hasNextInt()) {
	       int a = in.nextInt();
	       char op = in.next().charAt(0);
	       int b = in.nextInt();

	       if(op=='?') return;

	       int ans = 0;
	       if(op == '+') {
		       ans=a+b;
	       } else if(op == '-') {
		       ans=a-b;
	       } else if(op == '*') {
		       ans=a*b;
	       } else if(op == '/') {
		       ans=a/b;
	       }
	       System.out.println(ans);
       }
    } main {
       Scanner in = new Scanner(System.in);
       while(in.hasNextInt()) {
	       int a = in.nextInt();
	       char op = in.next().charAt(0);
	       int b = in.nextInt();

	       if(op=='?') return;

	       int ans = 0;
	       if(op == '+') {
		       ans=a+b;
	       } else if(op == '-') {
		       ans=a-b;
	       } else if(op == '*') {
		       ans=a*b;
	       } else if(op == '/') {
		       ans=a/b;
	       }
	       System.out.println(ans);
       }
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) while(in.hasNextInt()) {
	       int a = in.nextInt();
	       char op = in.next().charAt(0);
	       int b = in.nextInt();

	       if(op=='?') return;

	       int ans = 0;
	       if(op == '+') {
		       ans=a+b;
	       } else if(op == '-') {
		       ans=a-b;
	       } else if(op == '*') {
		       ans=a*b;
	       } else if(op == '/') {
		       ans=a/b;
	       }
	       System.out.println(ans);
       } in.hasNextInt() in.hasNextInt in {
	       int a = in.nextInt();
	       char op = in.next().charAt(0);
	       int b = in.nextInt();

	       if(op=='?') return;

	       int ans = 0;
	       if(op == '+') {
		       ans=a+b;
	       } else if(op == '-') {
		       ans=a-b;
	       } else if(op == '*') {
		       ans=a*b;
	       } else if(op == '/') {
		       ans=a/b;
	       }
	       System.out.println(ans);
       } int a = in.nextInt(); a in.nextInt() in.nextInt in char op = in.next().charAt(0); op in.next().charAt(0) in.next().charAt in.next() in.next in 0 int b = in.nextInt(); b in.nextInt() in.nextInt in if(op=='?') return; op=='?' op '?' return; int ans = 0; ans 0 if(op == '+') {
		       ans=a+b;
	       } else if(op == '-') {
		       ans=a-b;
	       } else if(op == '*') {
		       ans=a*b;
	       } else if(op == '/') {
		       ans=a/b;
	       } op == '+' op '+' {
		       ans=a+b;
	       } ans=a+b ans a+b a b if(op == '-') {
		       ans=a-b;
	       } else if(op == '*') {
		       ans=a*b;
	       } else if(op == '/') {
		       ans=a/b;
	       } op == '-' op '-' {
		       ans=a-b;
	       } ans=a-b ans a-b a b if(op == '*') {
		       ans=a*b;
	       } else if(op == '/') {
		       ans=a/b;
	       } op == '*' op '*' {
		       ans=a*b;
	       } ans=a*b ans a*b a b if(op == '/') {
		       ans=a/b;
	       } op == '/' op '/' {
		       ans=a/b;
	       } ans=a/b ans a/b a b System.out.println(ans) System.out.println System.out System System.out ans String[] args args
import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       while(in.hasNextInt()) {
	       int a = in.nextInt();
	       char op = in.next().charAt(0);
	       int b = in.nextInt();

	       if(op=='?') return;

	       int ans = 0;
	       if(op == '+') {
		       ans=a+b;
	       } else if(op == '-') {
		       ans=a-b;
	       } else if(op == '*') {
		       ans=a*b;
	       } else if(op == '/') {
		       ans=a/b;
	       }
	       System.out.println(ans);
       }
    }
}