#include <stdio.h> int main() { int a, b,c,S; scanf("%d %d %d",&a,&b,&c); S=a*0.2+b*0.3+c*0.5; printf("%d",S); return 0; }