#include using namespace std; int main(){ int a,b,c; cin >> a >> b >> c; int x = 100*a + 25*b + 1*c; cout << x%1000/100 + x%100/25 + x%25 <