#include<bits/stdc++.h> using namespace std; int main() { int n,m=0; cin>>n; for(int i=1;i*10<n;i++)m+=(n-10*i-1)/5; cout<<m; return 0; }