#include<bits/stdc++.h> using namespace std; int main() { int a,b,c,f=0; cin>>a>>b>>c; f+=a*0.2; f+=b*0.3; f+=c*0.5; cout<<f; return 0; }