import java.util.*;
import java.text.*;

class Main {
    public static void main(String[]args)throws Exception {
        Scanner sc = new Scanner(System.in);
        for(;;) {
            int a = sc.nextInt();
            char c = sc.next().charAt(0);
            int b = sc.nextInt();
            int r = 0;
            if(c=='?') break;
            else if(c=='+') r = a + b;
            else if(c=='-') r = a - b;
            else if(c=='*') r = a * b;
            else if(c=='/') r = a / b;
            System.out.println(r);
        }
    }
} import java.util.*; util.* java import java.text.*; text.* java class Main {
    public static void main(String[]args)throws Exception {
        Scanner sc = new Scanner(System.in);
        for(;;) {
            int a = sc.nextInt();
            char c = sc.next().charAt(0);
            int b = sc.nextInt();
            int r = 0;
            if(c=='?') break;
            else if(c=='+') r = a + b;
            else if(c=='-') r = a - b;
            else if(c=='*') r = a * b;
            else if(c=='/') r = a / b;
            System.out.println(r);
        }
    }
} Main public static void main(String[]args)throws Exception {
        Scanner sc = new Scanner(System.in);
        for(;;) {
            int a = sc.nextInt();
            char c = sc.next().charAt(0);
            int b = sc.nextInt();
            int r = 0;
            if(c=='?') break;
            else if(c=='+') r = a + b;
            else if(c=='-') r = a - b;
            else if(c=='*') r = a * b;
            else if(c=='/') r = a / b;
            System.out.println(r);
        }
    } main {
        Scanner sc = new Scanner(System.in);
        for(;;) {
            int a = sc.nextInt();
            char c = sc.next().charAt(0);
            int b = sc.nextInt();
            int r = 0;
            if(c=='?') break;
            else if(c=='+') r = a + b;
            else if(c=='-') r = a - b;
            else if(c=='*') r = a * b;
            else if(c=='/') r = a / b;
            System.out.println(r);
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) for(;;) {
            int a = sc.nextInt();
            char c = sc.next().charAt(0);
            int b = sc.nextInt();
            int r = 0;
            if(c=='?') break;
            else if(c=='+') r = a + b;
            else if(c=='-') r = a - b;
            else if(c=='*') r = a * b;
            else if(c=='/') r = a / b;
            System.out.println(r);
        } ; {
            int a = sc.nextInt();
            char c = sc.next().charAt(0);
            int b = sc.nextInt();
            int r = 0;
            if(c=='?') break;
            else if(c=='+') r = a + b;
            else if(c=='-') r = a - b;
            else if(c=='*') r = a * b;
            else if(c=='/') r = a / b;
            System.out.println(r);
        } {
            int a = sc.nextInt();
            char c = sc.next().charAt(0);
            int b = sc.nextInt();
            int r = 0;
            if(c=='?') break;
            else if(c=='+') r = a + b;
            else if(c=='-') r = a - b;
            else if(c=='*') r = a * b;
            else if(c=='/') r = a / b;
            System.out.println(r);
        } int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc char c = sc.next().charAt(0); c sc.next().charAt(0) sc.next().charAt sc.next() sc.next sc 0 int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int r = 0; r 0 if(c=='?') break;
            else if(c=='+') r = a + b;
            else if(c=='-') r = a - b;
            else if(c=='*') r = a * b;
            else if(c=='/') r = a / b; c=='?' c '?' break; if(c=='+') r = a + b;
            else if(c=='-') r = a - b;
            else if(c=='*') r = a * b;
            else if(c=='/') r = a / b; c=='+' c '+' r = a + b r a + b a b if(c=='-') r = a - b;
            else if(c=='*') r = a * b;
            else if(c=='/') r = a / b; c=='-' c '-' r = a - b r a - b a b if(c=='*') r = a * b;
            else if(c=='/') r = a / b; c=='*' c '*' r = a * b r a * b a b if(c=='/') r = a / b; c=='/' c '/' r = a / b r a / b a b System.out.println(r) System.out.println System.out System System.out r String[]args args
import java.util.*;
import java.text.*;

class Main {
    public static void main(String[]args)throws Exception {
        Scanner sc = new Scanner(System.in);
        for(;;) {
            int a = sc.nextInt();
            char c = sc.next().charAt(0);
            int b = sc.nextInt();
            int r = 0;
            if(c=='?') break;
            else if(c=='+') r = a + b;
            else if(c=='-') r = a - b;
            else if(c=='*') r = a * b;
            else if(c=='/') r = a / b;
            System.out.println(r);
        }
    }
}