You have 1-cent coins, but it is very difficult to spend them because counting them takes your time. You have decided to exchange these coins for 2 and 5 cent coins. What is the minimum total number of 2 and 5 cent coins you need?
The input contains an integer (7 \le n \le 1000000)
Output the answer to the problem.
Example 1