#include<bits/stdc++.h> using namespace std; int main(){ double a,b,c; cin>>a>>b>>c; printf("%.1lf",a*10.4+(b*15.6)+(c*25.2)); }