#include"stdio.h"int main(){ int a,b; scanf("%d%d",&a,&b); if(b==0)b=1; printf("和%d\n",a+b); printf("积%d\n",a*b); printf("差%d\n",a-b); printf("商%.2lf\n",a*1.0/b); return 0;}