#include<bits/stdc++.h> using namespace std; int main(){ double a,b,c; cin>>a>>b>>c; cout<<a*10.4+b*15.6+c*25.2; return 0; }