// g++ -std=c++11 temp.cpp #include using namespace std; #define FOR(i,a,b) for(int i=(int)(a);i<(int)(b);i++) #define REP(i,n) FOR(i,0,n) #define EACH(itr,v) for(auto itr:v) #define pb(s) push_back(s) #define mp(a,b) make_pair(a,b) #define all(x) (x).begin(),(x).end() #define dbg(x) cout<<#x"="< P; typedef pair PPI; #define INF INT_MAX/3 #define MAX_N 1000 int l,m,n; int main(){ cin>>l>>m>>n; int p = (l*100+m*25+n)%1000; int res = 0; res += p/100; p %= 100; res += p/25; p %= 25; res += p; cout<