#include<stdio.h>
main(){ int o,p,q;
scanf("%d%d",&o,&p);
q=o+p; printf("%d",q);
scanf("%d%d",&o,&p); q=o*p;printf("%d",q); scanf("%d%d",&o,&p);
q=o/p; printf("%d",q); scanf("%lf%lf",&o,&p);
q=o+p; printf("%lf",q);
scanf("%lf%lf",&o,&p); q=o*p;printf("%lf",q); scanf("%lf%lf",&o,&p);
q=o/p; printf("%lf",q); }