import java.util.Scanner;
public class Main {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num1, num2, Ans;
        Ans =0;
        for (int i=1;;i++)
        {
        str[0] = in.next();
        str[1] = in.next();
        str[2] = in.next();
        num1 = Integer.parseInt(str[0]);
        num2 = Integer.parseInt(str[2]);
        if (str[1].equals("?")){break;}
        else{
        if (str[1].equals("+")){Ans = num1+num2;}
        if (str[1].equals("-")){Ans = num1-num2;}
        if (str[1].equals("*")){Ans = num1*num2;}
        if (str[1].equals("/")){Ans = num1/num2;}
        System.out.println(Ans);}
        }
    }
    
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num1, num2, Ans;
        Ans =0;
        for (int i=1;;i++)
        {
        str[0] = in.next();
        str[1] = in.next();
        str[2] = in.next();
        num1 = Integer.parseInt(str[0]);
        num2 = Integer.parseInt(str[2]);
        if (str[1].equals("?")){break;}
        else{
        if (str[1].equals("+")){Ans = num1+num2;}
        if (str[1].equals("-")){Ans = num1-num2;}
        if (str[1].equals("*")){Ans = num1*num2;}
        if (str[1].equals("/")){Ans = num1/num2;}
        System.out.println(Ans);}
        }
    }
    
} Main public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num1, num2, Ans;
        Ans =0;
        for (int i=1;;i++)
        {
        str[0] = in.next();
        str[1] = in.next();
        str[2] = in.next();
        num1 = Integer.parseInt(str[0]);
        num2 = Integer.parseInt(str[2]);
        if (str[1].equals("?")){break;}
        else{
        if (str[1].equals("+")){Ans = num1+num2;}
        if (str[1].equals("-")){Ans = num1-num2;}
        if (str[1].equals("*")){Ans = num1*num2;}
        if (str[1].equals("/")){Ans = num1/num2;}
        System.out.println(Ans);}
        }
    } main {
        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num1, num2, Ans;
        Ans =0;
        for (int i=1;;i++)
        {
        str[0] = in.next();
        str[1] = in.next();
        str[2] = in.next();
        num1 = Integer.parseInt(str[0]);
        num2 = Integer.parseInt(str[2]);
        if (str[1].equals("?")){break;}
        else{
        if (str[1].equals("+")){Ans = num1+num2;}
        if (str[1].equals("-")){Ans = num1-num2;}
        if (str[1].equals("*")){Ans = num1*num2;}
        if (str[1].equals("/")){Ans = num1/num2;}
        System.out.println(Ans);}
        }
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) String str[]; str str = new String[3] str new String[3] 3 int num1 num1 num2 num2 Ans; Ans Ans =0 Ans 0 for (int i=1;;i++)
        {
        str[0] = in.next();
        str[1] = in.next();
        str[2] = in.next();
        num1 = Integer.parseInt(str[0]);
        num2 = Integer.parseInt(str[2]);
        if (str[1].equals("?")){break;}
        else{
        if (str[1].equals("+")){Ans = num1+num2;}
        if (str[1].equals("-")){Ans = num1-num2;}
        if (str[1].equals("*")){Ans = num1*num2;}
        if (str[1].equals("/")){Ans = num1/num2;}
        System.out.println(Ans);}
        } int i=1; int i=1; i 1 i++ i++ i {
        str[0] = in.next();
        str[1] = in.next();
        str[2] = in.next();
        num1 = Integer.parseInt(str[0]);
        num2 = Integer.parseInt(str[2]);
        if (str[1].equals("?")){break;}
        else{
        if (str[1].equals("+")){Ans = num1+num2;}
        if (str[1].equals("-")){Ans = num1-num2;}
        if (str[1].equals("*")){Ans = num1*num2;}
        if (str[1].equals("/")){Ans = num1/num2;}
        System.out.println(Ans);}
        } {
        str[0] = in.next();
        str[1] = in.next();
        str[2] = in.next();
        num1 = Integer.parseInt(str[0]);
        num2 = Integer.parseInt(str[2]);
        if (str[1].equals("?")){break;}
        else{
        if (str[1].equals("+")){Ans = num1+num2;}
        if (str[1].equals("-")){Ans = num1-num2;}
        if (str[1].equals("*")){Ans = num1*num2;}
        if (str[1].equals("/")){Ans = num1/num2;}
        System.out.println(Ans);}
        } str[0] = in.next() str[0] str 0 in.next() in.next in str[1] = in.next() str[1] str 1 in.next() in.next in str[2] = in.next() str[2] str 2 in.next() in.next in num1 = Integer.parseInt(str[0]) num1 Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 num2 = Integer.parseInt(str[2]) num2 Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 if (str[1].equals("?")){break;}
        else{
        if (str[1].equals("+")){Ans = num1+num2;}
        if (str[1].equals("-")){Ans = num1-num2;}
        if (str[1].equals("*")){Ans = num1*num2;}
        if (str[1].equals("/")){Ans = num1/num2;}
        System.out.println(Ans);} str[1].equals("?") str[1].equals str[1] str 1 "?" {break;} break; {
        if (str[1].equals("+")){Ans = num1+num2;}
        if (str[1].equals("-")){Ans = num1-num2;}
        if (str[1].equals("*")){Ans = num1*num2;}
        if (str[1].equals("/")){Ans = num1/num2;}
        System.out.println(Ans);} if (str[1].equals("+")){Ans = num1+num2;} str[1].equals("+") str[1].equals str[1] str 1 "+" {Ans = num1+num2;} Ans = num1+num2 Ans num1+num2 num1 num2 if (str[1].equals("-")){Ans = num1-num2;} str[1].equals("-") str[1].equals str[1] str 1 "-" {Ans = num1-num2;} Ans = num1-num2 Ans num1-num2 num1 num2 if (str[1].equals("*")){Ans = num1*num2;} str[1].equals("*") str[1].equals str[1] str 1 "*" {Ans = num1*num2;} Ans = num1*num2 Ans num1*num2 num1 num2 if (str[1].equals("/")){Ans = num1/num2;} str[1].equals("/") str[1].equals str[1] str 1 "/" {Ans = num1/num2;} Ans = num1/num2 Ans num1/num2 num1 num2 System.out.println(Ans) System.out.println System.out System System.out Ans String[] args args public class Main {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num1, num2, Ans;
        Ans =0;
        for (int i=1;;i++)
        {
        str[0] = in.next();
        str[1] = in.next();
        str[2] = in.next();
        num1 = Integer.parseInt(str[0]);
        num2 = Integer.parseInt(str[2]);
        if (str[1].equals("?")){break;}
        else{
        if (str[1].equals("+")){Ans = num1+num2;}
        if (str[1].equals("-")){Ans = num1-num2;}
        if (str[1].equals("*")){Ans = num1*num2;}
        if (str[1].equals("/")){Ans = num1/num2;}
        System.out.println(Ans);}
        }
    }
    
} public class Main {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num1, num2, Ans;
        Ans =0;
        for (int i=1;;i++)
        {
        str[0] = in.next();
        str[1] = in.next();
        str[2] = in.next();
        num1 = Integer.parseInt(str[0]);
        num2 = Integer.parseInt(str[2]);
        if (str[1].equals("?")){break;}
        else{
        if (str[1].equals("+")){Ans = num1+num2;}
        if (str[1].equals("-")){Ans = num1-num2;}
        if (str[1].equals("*")){Ans = num1*num2;}
        if (str[1].equals("/")){Ans = num1/num2;}
        System.out.println(Ans);}
        }
    }
    
} Main
import java.util.Scanner;
public class Main {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str[];
        str = new String[3];
        int num1, num2, Ans;
        Ans =0;
        for (int i=1;;i++)
        {
        str[0] = in.next();
        str[1] = in.next();
        str[2] = in.next();
        num1 = Integer.parseInt(str[0]);
        num2 = Integer.parseInt(str[2]);
        if (str[1].equals("?")){break;}
        else{
        if (str[1].equals("+")){Ans = num1+num2;}
        if (str[1].equals("-")){Ans = num1-num2;}
        if (str[1].equals("*")){Ans = num1*num2;}
        if (str[1].equals("/")){Ans = num1/num2;}
        System.out.println(Ans);}
        }
    }
    
}