#include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define Would #define you const int INF = 999999999; const int MOD = 1e9 + 7; const double pi = 3.141592653589793238; int main() { int a, b, c; cin >> a >> b >> c; b += c / 25; c %= 25; a += b / 4; b %= 4; cout << a + b + c % 10 << endl; }