Win the lottery#8779

Win the lottery

1 second
64 megabytes
Very easy

Irina Ivanovna has a substantial amount of money, specifically dollars, in her account. For security reasons, she intends to withdraw the entire sum in cash, though we won't delve into those reasons here. The available denominations of dollar bills are , , , , and . What is the minimum number of bills Irina Ivanovna should receive after withdrawing all her money?

Input

The input consists of a single line containing the number (1 \leq n \leq 10^{18}).

Output

Output the minimum number of bills that Irina Ivanovna will receive.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading