#include<stdio.h> int main() { int a,b,c,d,e,f; scanf("%d %d %d %d %d %d",&a,&b,&c,&d,&e,&f); int count=0; count=f+e+d+(3+c)/4; printf("%d\n",count); }
Double click to view unformatted code.