import java.util.*;

class Main{
public static void main(String[] args){

Scanner sc = new Scanner(System.in);
int a,b;
for(;;){
a =sc.nextInt();
String op =sc.next();
b =sc.nextInt();
if("+".equals(op)) System.out.println(a+b);
else if("-".equals(op)) System.out.println(a-b);
else if("*".equals(op)) System.out.println(a*b);
else if("/".equals(op)) System.out.println(a/b);
else break;
}
}
} import java.util.*; util.* java class Main{
public static void main(String[] args){

Scanner sc = new Scanner(System.in);
int a,b;
for(;;){
a =sc.nextInt();
String op =sc.next();
b =sc.nextInt();
if("+".equals(op)) System.out.println(a+b);
else if("-".equals(op)) System.out.println(a-b);
else if("*".equals(op)) System.out.println(a*b);
else if("/".equals(op)) System.out.println(a/b);
else break;
}
}
} Main public static void main(String[] args){

Scanner sc = new Scanner(System.in);
int a,b;
for(;;){
a =sc.nextInt();
String op =sc.next();
b =sc.nextInt();
if("+".equals(op)) System.out.println(a+b);
else if("-".equals(op)) System.out.println(a-b);
else if("*".equals(op)) System.out.println(a*b);
else if("/".equals(op)) System.out.println(a/b);
else break;
}
} main {

Scanner sc = new Scanner(System.in);
int a,b;
for(;;){
a =sc.nextInt();
String op =sc.next();
b =sc.nextInt();
if("+".equals(op)) System.out.println(a+b);
else if("-".equals(op)) System.out.println(a-b);
else if("*".equals(op)) System.out.println(a*b);
else if("/".equals(op)) System.out.println(a/b);
else break;
}
} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a a b; b for(;;){
a =sc.nextInt();
String op =sc.next();
b =sc.nextInt();
if("+".equals(op)) System.out.println(a+b);
else if("-".equals(op)) System.out.println(a-b);
else if("*".equals(op)) System.out.println(a*b);
else if("/".equals(op)) System.out.println(a/b);
else break;
} ; {
a =sc.nextInt();
String op =sc.next();
b =sc.nextInt();
if("+".equals(op)) System.out.println(a+b);
else if("-".equals(op)) System.out.println(a-b);
else if("*".equals(op)) System.out.println(a*b);
else if("/".equals(op)) System.out.println(a/b);
else break;
} {
a =sc.nextInt();
String op =sc.next();
b =sc.nextInt();
if("+".equals(op)) System.out.println(a+b);
else if("-".equals(op)) System.out.println(a-b);
else if("*".equals(op)) System.out.println(a*b);
else if("/".equals(op)) System.out.println(a/b);
else break;
} a =sc.nextInt() a sc.nextInt() sc.nextInt sc String op =sc.next(); op sc.next() sc.next sc b =sc.nextInt() b sc.nextInt() sc.nextInt sc if("+".equals(op)) System.out.println(a+b);
else if("-".equals(op)) System.out.println(a-b);
else if("*".equals(op)) System.out.println(a*b);
else if("/".equals(op)) System.out.println(a/b);
else break; "+".equals(op) "+".equals "+" op System.out.println(a+b) System.out.println System.out System System.out a+b a b if("-".equals(op)) System.out.println(a-b);
else if("*".equals(op)) System.out.println(a*b);
else if("/".equals(op)) System.out.println(a/b);
else break; "-".equals(op) "-".equals "-" op System.out.println(a-b) System.out.println System.out System System.out a-b a b if("*".equals(op)) System.out.println(a*b);
else if("/".equals(op)) System.out.println(a/b);
else break; "*".equals(op) "*".equals "*" op System.out.println(a*b) System.out.println System.out System System.out a*b a b if("/".equals(op)) System.out.println(a/b);
else break; "/".equals(op) "/".equals "/" op System.out.println(a/b) System.out.println System.out System System.out a/b a b break; String[] args args
import java.util.*;

class Main{
public static void main(String[] args){

Scanner sc = new Scanner(System.in);
int a,b;
for(;;){
a =sc.nextInt();
String op =sc.next();
b =sc.nextInt();
if("+".equals(op)) System.out.println(a+b);
else if("-".equals(op)) System.out.println(a-b);
else if("*".equals(op)) System.out.println(a*b);
else if("/".equals(op)) System.out.println(a/b);
else break;
}
}
}