#include using namespace std; int main(){ int L, M, N; cin >> L >> M >> N; int amount = 0, result = 0; amount += L * 100; amount += M * 25; amount += N; result += amount / 100; amount = amount % 100; result += amount / 25; amount = amount % 25; result += amount; cout << result << endl; }