import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner scan=new Scanner(System.in);
String mark;
int c=0;
int b=0;
int a[]=new int[100000];
int x=0;
do{c=scan.nextInt();
mark=scan.next();
b=scan.nextInt();	
	if(mark.equals("?")){
		a[x]=2000001;
		break;
	}
	else if(mark.equals("+")){
		a[x]=c+b;
	}
	else if(mark.equals("-")){
		a[x]=c-b;
	}
	else if(mark.equals("*")){
		a[x]=c*b;
	}
	else if(mark.equals("/")){
		a[x]=c/b;
	}
	x++;
}while(true);
x=0;
do{
	if(a[x]==2000001)break;
	System.out.println(a[x]);
	x++;
}while(true);
scan.close();
	}
} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {
public static void main(String[] args) throws IOException {
Scanner scan=new Scanner(System.in);
String mark;
int c=0;
int b=0;
int a[]=new int[100000];
int x=0;
do{c=scan.nextInt();
mark=scan.next();
b=scan.nextInt();	
	if(mark.equals("?")){
		a[x]=2000001;
		break;
	}
	else if(mark.equals("+")){
		a[x]=c+b;
	}
	else if(mark.equals("-")){
		a[x]=c-b;
	}
	else if(mark.equals("*")){
		a[x]=c*b;
	}
	else if(mark.equals("/")){
		a[x]=c/b;
	}
	x++;
}while(true);
x=0;
do{
	if(a[x]==2000001)break;
	System.out.println(a[x]);
	x++;
}while(true);
scan.close();
	}
} Main public static void main(String[] args) throws IOException {
Scanner scan=new Scanner(System.in);
String mark;
int c=0;
int b=0;
int a[]=new int[100000];
int x=0;
do{c=scan.nextInt();
mark=scan.next();
b=scan.nextInt();	
	if(mark.equals("?")){
		a[x]=2000001;
		break;
	}
	else if(mark.equals("+")){
		a[x]=c+b;
	}
	else if(mark.equals("-")){
		a[x]=c-b;
	}
	else if(mark.equals("*")){
		a[x]=c*b;
	}
	else if(mark.equals("/")){
		a[x]=c/b;
	}
	x++;
}while(true);
x=0;
do{
	if(a[x]==2000001)break;
	System.out.println(a[x]);
	x++;
}while(true);
scan.close();
	} main {
Scanner scan=new Scanner(System.in);
String mark;
int c=0;
int b=0;
int a[]=new int[100000];
int x=0;
do{c=scan.nextInt();
mark=scan.next();
b=scan.nextInt();	
	if(mark.equals("?")){
		a[x]=2000001;
		break;
	}
	else if(mark.equals("+")){
		a[x]=c+b;
	}
	else if(mark.equals("-")){
		a[x]=c-b;
	}
	else if(mark.equals("*")){
		a[x]=c*b;
	}
	else if(mark.equals("/")){
		a[x]=c/b;
	}
	x++;
}while(true);
x=0;
do{
	if(a[x]==2000001)break;
	System.out.println(a[x]);
	x++;
}while(true);
scan.close();
	} Scanner scan=new Scanner(System.in); scan new Scanner(System.in) String mark; mark int c=0; c 0 int b=0; b 0 int a[]=new int[100000]; a new int[100000] 100000 int x=0; x 0 do{c=scan.nextInt();
mark=scan.next();
b=scan.nextInt();	
	if(mark.equals("?")){
		a[x]=2000001;
		break;
	}
	else if(mark.equals("+")){
		a[x]=c+b;
	}
	else if(mark.equals("-")){
		a[x]=c-b;
	}
	else if(mark.equals("*")){
		a[x]=c*b;
	}
	else if(mark.equals("/")){
		a[x]=c/b;
	}
	x++;
}while(true); true {c=scan.nextInt();
mark=scan.next();
b=scan.nextInt();	
	if(mark.equals("?")){
		a[x]=2000001;
		break;
	}
	else if(mark.equals("+")){
		a[x]=c+b;
	}
	else if(mark.equals("-")){
		a[x]=c-b;
	}
	else if(mark.equals("*")){
		a[x]=c*b;
	}
	else if(mark.equals("/")){
		a[x]=c/b;
	}
	x++;
} c=scan.nextInt() c scan.nextInt() scan.nextInt scan mark=scan.next() mark scan.next() scan.next scan b=scan.nextInt() b scan.nextInt() scan.nextInt scan if(mark.equals("?")){
		a[x]=2000001;
		break;
	}
	else if(mark.equals("+")){
		a[x]=c+b;
	}
	else if(mark.equals("-")){
		a[x]=c-b;
	}
	else if(mark.equals("*")){
		a[x]=c*b;
	}
	else if(mark.equals("/")){
		a[x]=c/b;
	} mark.equals("?") mark.equals mark "?" {
		a[x]=2000001;
		break;
	} a[x]=2000001 a[x] a x 2000001 break; if(mark.equals("+")){
		a[x]=c+b;
	}
	else if(mark.equals("-")){
		a[x]=c-b;
	}
	else if(mark.equals("*")){
		a[x]=c*b;
	}
	else if(mark.equals("/")){
		a[x]=c/b;
	} mark.equals("+") mark.equals mark "+" {
		a[x]=c+b;
	} a[x]=c+b a[x] a x c+b c b if(mark.equals("-")){
		a[x]=c-b;
	}
	else if(mark.equals("*")){
		a[x]=c*b;
	}
	else if(mark.equals("/")){
		a[x]=c/b;
	} mark.equals("-") mark.equals mark "-" {
		a[x]=c-b;
	} a[x]=c-b a[x] a x c-b c b if(mark.equals("*")){
		a[x]=c*b;
	}
	else if(mark.equals("/")){
		a[x]=c/b;
	} mark.equals("*") mark.equals mark "*" {
		a[x]=c*b;
	} a[x]=c*b a[x] a x c*b c b if(mark.equals("/")){
		a[x]=c/b;
	} mark.equals("/") mark.equals mark "/" {
		a[x]=c/b;
	} a[x]=c/b a[x] a x c/b c b x++ x x=0 x 0 do{
	if(a[x]==2000001)break;
	System.out.println(a[x]);
	x++;
}while(true); true {
	if(a[x]==2000001)break;
	System.out.println(a[x]);
	x++;
} if(a[x]==2000001)break; a[x]==2000001 a[x] a x 2000001 break; System.out.println(a[x]) System.out.println System.out System System.out a[x] a x x++ x scan.close() scan.close scan String[] args args public class Main {
public static void main(String[] args) throws IOException {
Scanner scan=new Scanner(System.in);
String mark;
int c=0;
int b=0;
int a[]=new int[100000];
int x=0;
do{c=scan.nextInt();
mark=scan.next();
b=scan.nextInt();	
	if(mark.equals("?")){
		a[x]=2000001;
		break;
	}
	else if(mark.equals("+")){
		a[x]=c+b;
	}
	else if(mark.equals("-")){
		a[x]=c-b;
	}
	else if(mark.equals("*")){
		a[x]=c*b;
	}
	else if(mark.equals("/")){
		a[x]=c/b;
	}
	x++;
}while(true);
x=0;
do{
	if(a[x]==2000001)break;
	System.out.println(a[x]);
	x++;
}while(true);
scan.close();
	}
} public class Main {
public static void main(String[] args) throws IOException {
Scanner scan=new Scanner(System.in);
String mark;
int c=0;
int b=0;
int a[]=new int[100000];
int x=0;
do{c=scan.nextInt();
mark=scan.next();
b=scan.nextInt();	
	if(mark.equals("?")){
		a[x]=2000001;
		break;
	}
	else if(mark.equals("+")){
		a[x]=c+b;
	}
	else if(mark.equals("-")){
		a[x]=c-b;
	}
	else if(mark.equals("*")){
		a[x]=c*b;
	}
	else if(mark.equals("/")){
		a[x]=c/b;
	}
	x++;
}while(true);
x=0;
do{
	if(a[x]==2000001)break;
	System.out.println(a[x]);
	x++;
}while(true);
scan.close();
	}
} Main
import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner scan=new Scanner(System.in);
String mark;
int c=0;
int b=0;
int a[]=new int[100000];
int x=0;
do{c=scan.nextInt();
mark=scan.next();
b=scan.nextInt();	
	if(mark.equals("?")){
		a[x]=2000001;
		break;
	}
	else if(mark.equals("+")){
		a[x]=c+b;
	}
	else if(mark.equals("-")){
		a[x]=c-b;
	}
	else if(mark.equals("*")){
		a[x]=c*b;
	}
	else if(mark.equals("/")){
		a[x]=c/b;
	}
	x++;
}while(true);
x=0;
do{
	if(a[x]==2000001)break;
	System.out.println(a[x]);
	x++;
}while(true);
scan.close();
	}
}