#include #include using namespace std; int main(){ int a, b, c; cin >> a >> b >> c; b = b + c / 25; c = c % 25; a = a + b / 4; b = b % 4; a = a % 10; cout << a + b + c << endl; return 0; }