#include <iostream>
using namespace std;
int main()
{
int x,t,g,f,sum,a,b;
cin>>x;
if(x>=100)
{
t=x/100;
g=20*t+t*5;
f=(x-t*100)/5;
b=f/5;
sum=f+b+g;
}
else
{
a=x/5/5;
sum=a+x/5;
}
cout<<sum;
return 0;
}
第十九周oj刷题:多少花可以买
