#include <bits/stdc++.h>
using namespace std;
double a,b;
int main()
{
cin>>a>>b;
cout<<fixed<<setprecision(2)<<a+b<<endl;
cout<<fixed<<setprecision(2)<<a-b<<endl;
cout<<fixed<<setprecision(2)<<a*b<<endl;
cout<<fixed<<setprecision(2)<<a/b;
return 0;
}