#include<stdio.h> int main() { int a,b,c,d; double score; scanf("%d%d%d%d",&a,&b,&c,&d); score=a0.2+b0.1+c0.2+d0.5; printf("%.1f",score); }