try{
//1:获取三个数据
Scanner sc=new Scanner(System.in);
int a=nextInt();
String opt=sc.next();
int b=nextInt();
//2.根据相应的符号进行计算
if(opt.equals("+")){
System.out.println(a+b)
}
if(opt.equals("-")){
System.out.println(a-b)
}
if(opt.equals("×")){
System.out.println(a×b)
}
if(opt.equals("÷")){
System.out.println(a÷b)
}catch(Exception ex){
System.out.println("这个地方出错了!")
}
}