#include <iostream>
using namespace std;
float w;
float pluss (int a, int b) {
w=a+b;
return w;
}
float minuss (int a, int b) {
w=a-b;
return w;
}
float razyy (int a, int b) {
w=a*b;
return w;
}
float przezz (int a, int b) {
w=a/b;
return w;
}
int main()
{
float ww;
int c,d;
cin>>c;
cin>>d;
ww=pluss(c,d);
cout << ww << endl;
ww=minuss(c,d);
cout << ww << endl;
ww=razyy(c,d);
cout << ww << endl;
ww=przezz(c,d);
cout << ww << endl;
return 0;
}