import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        int a = 0;
        int b = 0;
        int ans = 0;
        String op = "";

        Scanner sc= new Scanner(System.in);

        while( true ) {
        	a = sc.nextInt();
        	op = sc.next();
        	b = sc.nextInt();

        	if( op.equals( "?" ) ) {
        		break;
        	}

        	switch( op ) {
        	case "+":
        		ans = a + b;
        		break;
        	case "-":
        		ans = a - b;
        		break;
        	case "*":
        		ans = a * b;
        		break;
        	case "/":
        		ans = a / b;
        		break;
        	}
        System.out.println( ans);
        }
    sc.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {

        int a = 0;
        int b = 0;
        int ans = 0;
        String op = "";

        Scanner sc= new Scanner(System.in);

        while( true ) {
        	a = sc.nextInt();
        	op = sc.next();
        	b = sc.nextInt();

        	if( op.equals( "?" ) ) {
        		break;
        	}

        	switch( op ) {
        	case "+":
        		ans = a + b;
        		break;
        	case "-":
        		ans = a - b;
        		break;
        	case "*":
        		ans = a * b;
        		break;
        	case "/":
        		ans = a / b;
        		break;
        	}
        System.out.println( ans);
        }
    sc.close();
    }
} Main public static void main(String[] args) {

        int a = 0;
        int b = 0;
        int ans = 0;
        String op = "";

        Scanner sc= new Scanner(System.in);

        while( true ) {
        	a = sc.nextInt();
        	op = sc.next();
        	b = sc.nextInt();

        	if( op.equals( "?" ) ) {
        		break;
        	}

        	switch( op ) {
        	case "+":
        		ans = a + b;
        		break;
        	case "-":
        		ans = a - b;
        		break;
        	case "*":
        		ans = a * b;
        		break;
        	case "/":
        		ans = a / b;
        		break;
        	}
        System.out.println( ans);
        }
    sc.close();
    } main {

        int a = 0;
        int b = 0;
        int ans = 0;
        String op = "";

        Scanner sc= new Scanner(System.in);

        while( true ) {
        	a = sc.nextInt();
        	op = sc.next();
        	b = sc.nextInt();

        	if( op.equals( "?" ) ) {
        		break;
        	}

        	switch( op ) {
        	case "+":
        		ans = a + b;
        		break;
        	case "-":
        		ans = a - b;
        		break;
        	case "*":
        		ans = a * b;
        		break;
        	case "/":
        		ans = a / b;
        		break;
        	}
        System.out.println( ans);
        }
    sc.close();
    } int a = 0; a 0 int b = 0; b 0 int ans = 0; ans 0 String op = ""; op "" Scanner sc= new Scanner(System.in); sc new Scanner(System.in) while( true ) {
        	a = sc.nextInt();
        	op = sc.next();
        	b = sc.nextInt();

        	if( op.equals( "?" ) ) {
        		break;
        	}

        	switch( op ) {
        	case "+":
        		ans = a + b;
        		break;
        	case "-":
        		ans = a - b;
        		break;
        	case "*":
        		ans = a * b;
        		break;
        	case "/":
        		ans = a / b;
        		break;
        	}
        System.out.println( ans);
        } true {
        	a = sc.nextInt();
        	op = sc.next();
        	b = sc.nextInt();

        	if( op.equals( "?" ) ) {
        		break;
        	}

        	switch( op ) {
        	case "+":
        		ans = a + b;
        		break;
        	case "-":
        		ans = a - b;
        		break;
        	case "*":
        		ans = a * b;
        		break;
        	case "/":
        		ans = a / b;
        		break;
        	}
        System.out.println( ans);
        } a = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next() op sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc if( op.equals( "?" ) ) {
        		break;
        	} op.equals( "?" ) op.equals op "?" {
        		break;
        	} break; switch( op ) {
        	case "+":
        		ans = a + b;
        		break;
        	case "-":
        		ans = a - b;
        		break;
        	case "*":
        		ans = a * b;
        		break;
        	case "/":
        		ans = a / b;
        		break;
        	} op case "+": "+" case "+": ans = a + b ans a + b a b break; case "-": "-" case "-": ans = a - b ans a - b a b break; case "*": "*" case "*": ans = a * b ans a * b a b break; case "/": "/" case "/": ans = a / b ans a / b a b break; System.out.println( ans) System.out.println System.out System System.out ans sc.close() sc.close sc String[] args args public class Main {

    public static void main(String[] args) {

        int a = 0;
        int b = 0;
        int ans = 0;
        String op = "";

        Scanner sc= new Scanner(System.in);

        while( true ) {
        	a = sc.nextInt();
        	op = sc.next();
        	b = sc.nextInt();

        	if( op.equals( "?" ) ) {
        		break;
        	}

        	switch( op ) {
        	case "+":
        		ans = a + b;
        		break;
        	case "-":
        		ans = a - b;
        		break;
        	case "*":
        		ans = a * b;
        		break;
        	case "/":
        		ans = a / b;
        		break;
        	}
        System.out.println( ans);
        }
    sc.close();
    }
} public class Main {

    public static void main(String[] args) {

        int a = 0;
        int b = 0;
        int ans = 0;
        String op = "";

        Scanner sc= new Scanner(System.in);

        while( true ) {
        	a = sc.nextInt();
        	op = sc.next();
        	b = sc.nextInt();

        	if( op.equals( "?" ) ) {
        		break;
        	}

        	switch( op ) {
        	case "+":
        		ans = a + b;
        		break;
        	case "-":
        		ans = a - b;
        		break;
        	case "*":
        		ans = a * b;
        		break;
        	case "/":
        		ans = a / b;
        		break;
        	}
        System.out.println( ans);
        }
    sc.close();
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        int a = 0;
        int b = 0;
        int ans = 0;
        String op = "";

        Scanner sc= new Scanner(System.in);

        while( true ) {
        	a = sc.nextInt();
        	op = sc.next();
        	b = sc.nextInt();

        	if( op.equals( "?" ) ) {
        		break;
        	}

        	switch( op ) {
        	case "+":
        		ans = a + b;
        		break;
        	case "-":
        		ans = a - b;
        		break;
        	case "*":
        		ans = a * b;
        		break;
        	case "/":
        		ans = a / b;
        		break;
        	}
        System.out.println( ans);
        }
    sc.close();
    }
}
