#include<bits/stdc++.h> using namespace std; int main(){ float s,n,g,q; cin>>s>>n>>g; q=s*10.4+n*15.6+g*25.2; cout<<q; return 0; }