#include <iostream>
using namespace std;

int main() {
int a = 10, b = 5, c = 3, d = 1;
int x = 3,  y = 2, z = 2;

float res = (float) a/x + b/y + c/z + d;
cout << res << endl;
float res2 = (float) a/x + (float)b/y + (float)c/z + d;
cout << res2 << endl;
	return 0;
}