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