#include int main() { long L=0,M=0,N=0,G=0,A=0; scanf("%ld\n, %ld\n, %ld\n", &L, &M, &N); A += N % 25; M += N / 25; A += M % 4; L += M / 4; A += L % 10; G += L / 10; A += G; printf("%ld\n", A); }