Codeforces Round 340 (Div. 2)
A
Elephant
Codeforces
800
原题
←B →
翻译中…

An elephant decided to visit his friend. It turned out that the elephant's house is located at point $0$ and his friend's house is located at point $*x*(*x* > 0)$ of the coordinate line. In one step the elephant can move $1$, $2$, $3$, $4$ or $5$ positions forward. Determine, what is the minimum number of steps he need to make in order to get to his friend's house.

翻译中…

Input

翻译中…

The first line of the input contains an integer $*x*$ ($1 ≤ *x* ≤ 1 000 000$) — The coordinate of the friend's house.

翻译中…

Output

翻译中…

Print the minimum number of steps that elephant needs to make to get from point $0$ to point $*x*$.

翻译中…

Note

翻译中…

In the first sample the elephant needs to make one step of length $5$ to reach the point $*x*$.

翻译中…

In the second sample the elephant can get to point $*x*$ if he moves by $3$, $5$ and $4$. There are other ways to get the optimal answer but the elephant cannot reach $*x*$ in less than three moves.

翻译中…

样例

Input #1
5
Output #1
1
InputCopy OutputCopy
Input #2
12
Output #2
3
InputCopy OutputCopy
题目信息
题号
617A
时间限制
1 s
内存限制
256 MB
标签
数学

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。