import java.util.Scanner;

public class Main {
    
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        int a=0,b=0,ans=0,f=0;
        String op;
        while(f==0){
        	a=scan.nextInt();
        	op=scan.next();
        	b=scan.nextInt();
        	switch(op){
        		case"+":
        			ans=a+b;
        			break;
        		case"-":
        			ans=a-b;
        			break;
        		case"*":
        			ans=a*b;
        			break;
        		case"/":
        			ans=a/b;
        			break;
        		case"?":
        			f=1;
        			break;
        		default:
        			continue;
        	}
        	if(f==0){
        		System.out.println(ans);
        	}
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        int a=0,b=0,ans=0,f=0;
        String op;
        while(f==0){
        	a=scan.nextInt();
        	op=scan.next();
        	b=scan.nextInt();
        	switch(op){
        		case"+":
        			ans=a+b;
        			break;
        		case"-":
        			ans=a-b;
        			break;
        		case"*":
        			ans=a*b;
        			break;
        		case"/":
        			ans=a/b;
        			break;
        		case"?":
        			f=1;
        			break;
        		default:
        			continue;
        	}
        	if(f==0){
        		System.out.println(ans);
        	}
        }
    }
} Main public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        int a=0,b=0,ans=0,f=0;
        String op;
        while(f==0){
        	a=scan.nextInt();
        	op=scan.next();
        	b=scan.nextInt();
        	switch(op){
        		case"+":
        			ans=a+b;
        			break;
        		case"-":
        			ans=a-b;
        			break;
        		case"*":
        			ans=a*b;
        			break;
        		case"/":
        			ans=a/b;
        			break;
        		case"?":
        			f=1;
        			break;
        		default:
        			continue;
        	}
        	if(f==0){
        		System.out.println(ans);
        	}
        }
    } main {
        Scanner scan=new Scanner(System.in);
        int a=0,b=0,ans=0,f=0;
        String op;
        while(f==0){
        	a=scan.nextInt();
        	op=scan.next();
        	b=scan.nextInt();
        	switch(op){
        		case"+":
        			ans=a+b;
        			break;
        		case"-":
        			ans=a-b;
        			break;
        		case"*":
        			ans=a*b;
        			break;
        		case"/":
        			ans=a/b;
        			break;
        		case"?":
        			f=1;
        			break;
        		default:
        			continue;
        	}
        	if(f==0){
        		System.out.println(ans);
        	}
        }
    } Scanner scan=new Scanner(System.in); scan new Scanner(System.in) int a=0 a 0 b=0 b 0 ans=0 ans 0 f=0; f 0 String op; op while(f==0){
        	a=scan.nextInt();
        	op=scan.next();
        	b=scan.nextInt();
        	switch(op){
        		case"+":
        			ans=a+b;
        			break;
        		case"-":
        			ans=a-b;
        			break;
        		case"*":
        			ans=a*b;
        			break;
        		case"/":
        			ans=a/b;
        			break;
        		case"?":
        			f=1;
        			break;
        		default:
        			continue;
        	}
        	if(f==0){
        		System.out.println(ans);
        	}
        } f==0 f 0 {
        	a=scan.nextInt();
        	op=scan.next();
        	b=scan.nextInt();
        	switch(op){
        		case"+":
        			ans=a+b;
        			break;
        		case"-":
        			ans=a-b;
        			break;
        		case"*":
        			ans=a*b;
        			break;
        		case"/":
        			ans=a/b;
        			break;
        		case"?":
        			f=1;
        			break;
        		default:
        			continue;
        	}
        	if(f==0){
        		System.out.println(ans);
        	}
        } a=scan.nextInt() a scan.nextInt() scan.nextInt scan op=scan.next() op scan.next() scan.next scan b=scan.nextInt() b scan.nextInt() scan.nextInt scan switch(op){
        		case"+":
        			ans=a+b;
        			break;
        		case"-":
        			ans=a-b;
        			break;
        		case"*":
        			ans=a*b;
        			break;
        		case"/":
        			ans=a/b;
        			break;
        		case"?":
        			f=1;
        			break;
        		default:
        			continue;
        	} 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; case"?": "?" case"?": f=1 f 1 break; default: default: continue; if(f==0){
        		System.out.println(ans);
        	} f==0 f 0 {
        		System.out.println(ans);
        	} 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 scan=new Scanner(System.in);
        int a=0,b=0,ans=0,f=0;
        String op;
        while(f==0){
        	a=scan.nextInt();
        	op=scan.next();
        	b=scan.nextInt();
        	switch(op){
        		case"+":
        			ans=a+b;
        			break;
        		case"-":
        			ans=a-b;
        			break;
        		case"*":
        			ans=a*b;
        			break;
        		case"/":
        			ans=a/b;
        			break;
        		case"?":
        			f=1;
        			break;
        		default:
        			continue;
        	}
        	if(f==0){
        		System.out.println(ans);
        	}
        }
    }
} public class Main {
    
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        int a=0,b=0,ans=0,f=0;
        String op;
        while(f==0){
        	a=scan.nextInt();
        	op=scan.next();
        	b=scan.nextInt();
        	switch(op){
        		case"+":
        			ans=a+b;
        			break;
        		case"-":
        			ans=a-b;
        			break;
        		case"*":
        			ans=a*b;
        			break;
        		case"/":
        			ans=a/b;
        			break;
        		case"?":
        			f=1;
        			break;
        		default:
        			continue;
        	}
        	if(f==0){
        		System.out.println(ans);
        	}
        }
    }
} Main
import java.util.Scanner;

public class Main {
    
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        int a=0,b=0,ans=0,f=0;
        String op;
        while(f==0){
        	a=scan.nextInt();
        	op=scan.next();
        	b=scan.nextInt();
        	switch(op){
        		case"+":
        			ans=a+b;
        			break;
        		case"-":
        			ans=a-b;
        			break;
        		case"*":
        			ans=a*b;
        			break;
        		case"/":
        			ans=a/b;
        			break;
        		case"?":
        			f=1;
        			break;
        		default:
        			continue;
        	}
        	if(f==0){
        		System.out.println(ans);
        	}
        }
    }
}