#include<stdio.h>int main(){ long long int q,w; scanf("%lld %lld",&q,&w); printf("%lld\n",q+w); printf("%lld\n",q-w); printf("%lld\n",q*w); printf("%.0lf\n",(double)q/w); printf("%lld\n",q%w); printf("%.2lf",(double)q/w); return 0;}