#include #define INF 2000000000000000000 #define ll long long #define pll pair using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); ll L, M, N; cin >> L >> M >> N; ll all = L * 100 + 25 * M + N; ll ans = 0; ans += all / 100; all /= 100; ans += all / 25; all /= 25; ans += all; cout << ans << "\n"; }