#include<bits/stdc++.h>
using namespace std;
int main(){
    float a,b,c,i=0,f=0,z=0,h=0;
    cin>>a>>b>>c;
    i=a*8.5;
    f=b*5.6;
    z=c*6.2;
    h=i+f+z;
    printf("%.1lf",h);
} 
/**************************************************************
	Problem: 1610
	User: linyuhang
	Language: C++
	Result: Accepted
	Time:9 ms
	Memory:2072 kb
****************************************************************/