#include <stdio.h>
int main()
{
int A,B;
do{
scanf("%d,%d",&A,&B);}
while(A*B==0);
if(A%2==0&&B%2==0){printf("%d+%d=%d",A,B,A+B);}
if(A%2==0&&B%2!=0){printf("%d/%d=%d",A,B,A/B);}
if(A%2!=0&&B%2==0){printf("%d*%d=%d",A,B,A*B);}
if(A%2!=0&&B%2!=0){printf("%d-%d=%d",A,B,A-B);}
return 0;
A,B为非0整数,这样写还能简化吗