import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int x=0;
boolean i=true;
while(i){
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[2]);
switch(arr[1]){
case "+": x=a+b; break;
case "-": x=a-b; break;
case "*": x=a*b; break;
case "/": x=a/b; break;
case "?": i=false; break;
default: break;
}
if(i==true) System.out.println(x);
}
br.close();
}
} import java.io.*; io.* java class Main{
public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int x=0;
boolean i=true;
while(i){
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[2]);
switch(arr[1]){
case "+": x=a+b; break;
case "-": x=a-b; break;
case "*": x=a*b; break;
case "/": x=a/b; break;
case "?": i=false; break;
default: break;
}
if(i==true) System.out.println(x);
}
br.close();
}
} Main public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int x=0;
boolean i=true;
while(i){
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[2]);
switch(arr[1]){
case "+": x=a+b; break;
case "-": x=a-b; break;
case "*": x=a*b; break;
case "/": x=a/b; break;
case "?": i=false; break;
default: break;
}
if(i==true) System.out.println(x);
}
br.close();
} main {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int x=0;
boolean i=true;
while(i){
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[2]);
switch(arr[1]){
case "+": x=a+b; break;
case "-": x=a-b; break;
case "*": x=a*b; break;
case "/": x=a/b; break;
case "?": i=false; break;
default: break;
}
if(i==true) System.out.println(x);
}
br.close();
} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int x=0; x 0 boolean i=true; i true while(i){
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[2]);
switch(arr[1]){
case "+": x=a+b; break;
case "-": x=a-b; break;
case "*": x=a*b; break;
case "/": x=a/b; break;
case "?": i=false; break;
default: break;
}
if(i==true) System.out.println(x);
} i {
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[2]);
switch(arr[1]){
case "+": x=a+b; break;
case "-": x=a-b; break;
case "*": x=a*b; break;
case "/": x=a/b; break;
case "?": i=false; break;
default: break;
}
if(i==true) System.out.println(x);
} String str=br.readLine(); str br.readLine() br.readLine br String[] arr=str.split(" "); arr str.split(" ") str.split str " " int a=Integer.parseInt(arr[0]); a Integer.parseInt(arr[0]) Integer.parseInt Integer arr[0] arr 0 int b=Integer.parseInt(arr[2]); b Integer.parseInt(arr[2]) Integer.parseInt Integer arr[2] arr 2 switch(arr[1]){
case "+": x=a+b; break;
case "-": x=a-b; break;
case "*": x=a*b; break;
case "/": x=a/b; break;
case "?": i=false; break;
default: break;
} arr[1] arr 1 case "+": "+" case "+": x=a+b x a+b a b break; case "-": "-" case "-": x=a-b x a-b a b break; case "*": "*" case "*": x=a*b x a*b a b break; case "/": "/" case "/": x=a/b x a/b a b break; case "?": "?" case "?": i=false i false break; default: default: break; if(i==true) System.out.println(x); i==true i true System.out.println(x) System.out.println System.out System System.out x br.close() br.close br String[] args args
import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int x=0;
boolean i=true;
while(i){
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[2]);
switch(arr[1]){
case "+": x=a+b; break;
case "-": x=a-b; break;
case "*": x=a*b; break;
case "/": x=a/b; break;
case "?": i=false; break;
default: break;
}
if(i==true) System.out.println(x);
}
br.close();
}
}