#include <iostream> using namespace std; int main(){ int n; cin>>n; int f=0; cout<<1+n/5+n/10; return 0; }