#include<bits/stdc++.h>
using namespace std;
int main(){
  int n,ans;cin >> n;ans = n;  
  for(int i=0;i<10;i++){
    int tmp=n-i*10,res=i;   
    if(tmp<0) continue;
    res+=tmp/25;tmp%=25;res+=tmp/5;tmp%=5;res+=tmp/1;tmp%=1;
    ans = min(ans,res);
  }
  cout<<ans<<endl;
}

### Prompt

Please formulate a cpp solution to the following problem:

You want to make change for $ n $ cents. Assuming that you have infinite supply of coins of 1, 5, 10 and / or 25 cents coins respectively, find the minimum number of coins you need.

Constraints

* $ 1 \ le n \ le 10 ^ 9 $

Input


$ n $


The integer $ n $ is given in a line.

output

Print the minimum number of coins you need in a line.

Examples

Input

100


Output

4


Input

54321


Output

2175

### Response

```cpp
#include<bits/stdc++.h>
using namespace std;
int main(){
  int n,ans;cin >> n;ans = n;  
  for(int i=0;i<10;i++){
    int tmp=n-i*10,res=i;   
    if(tmp<0) continue;
    res+=tmp/25;tmp%=25;res+=tmp/5;tmp%=5;res+=tmp/1;tmp%=1;
    ans = min(ans,res);
  }
  cout<<ans<<endl;
}

```