#include<bits/stdc++.h>
using namespace std;
int main(){
float x,y,z,p;
cin>>x>>y>>z;
p=x*8.5+y*5.6+z*6.2;
printf("%.1f",p);
}
/**************************************************************
Problem: 1610
User: huxuanchen
Language: C++
Result: Accepted
Time:7 ms
Memory:2072 kb
****************************************************************/