#include<bits/stdc++.h>
using namespace std;
int main(){
string s1,s2,s3;
cin>>s1>>s2>>s3;
s1 = s1.substr(0,s1.length() - 1);
s2 = s2.substr(0,s2.length() - 1);
s3 = s3.substr(0,s3.length() - 1);
cout<<fixed<<setprecision(1)<<80 * atoi(s1.c_str()) / 100.0 <<endl;
cout<<fixed<<setprecision(1)<<80 * atoi(s2.c_str()) / 100.0 <<endl;
cout<<fixed<<setprecision(1)<<80 * atoi(s3.c_str()) / 100.0 <<endl;
cout<<fixed<<setprecision(1)<<80 * (100 - atoi(s1.c_str()) -atoi(s2.c_str()) -atoi(s3.c_str()) )/ 100.0 <<endl;
}
/**************************************************************
Problem: 1343
User: chenmingyu
Language: C++
Result: Accepted
Time:23 ms
Memory:2076 kb
****************************************************************/