#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;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CmludCBhID0gMTAsIGIgPSA1LCBjID0gMywgZCA9IDE7CmludCB4ID0gMywgIHkgPSAyLCB6ID0gMjsKCmZsb2F0IHJlcyA9IChmbG9hdCkgYS94ICsgYi95ICsgYy96ICsgZDsKY291dCA8PCByZXMgPDwgZW5kbDsKZmxvYXQgcmVzMiA9IChmbG9hdCkgYS94ICsgKGZsb2F0KWIveSArIChmbG9hdCljL3ogKyBkOwpjb3V0IDw8IHJlczIgPDwgZW5kbDsKCXJldHVybiAwOwp9