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