Codeforces-SolutionsA/617A-Elephant/617A.cpp
2023-06-07 20:15:25 +06:00

20 lines
303 B
C++

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