#include <iostream> using namespace std; int main() { int a,b,c,s; cin >> a >> b >> c; s = a*0.20 + b*0.30 + c*0.50; cout << s << endl; return 0; }