#include using namespace std; int main (void){ int L = 0, M = 0, N = 0; int ans = 0; // input cin >> L >> M >> N; // solve M += (N * 1) / 25; N = (N * 1) % 25 / 1; L += (M * 25) / 100; M = (M * 25) % 100 / 25; L = (L * 100) % 1000 / 100; ans = N + M + L; // output cout << ans << endl; return 0; }