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