Bob the honors pupil#4721

Bob the honors pupil

1 second
128 megabytes
Very easy

Bob is an honors pupil. He enjoys every five that he sees in a number. Every morning, he goes by bus and counts the number of fives in his bus ticket. According to the ancient omen (valid from the nd class), he knows that this day he will receive as many fives as there are in his ticket. Given today's Bob's ticket number, determine how many fives he will get today.

Input

Bob's ticket number (0 \leq n \leq 9999).

Output

Print the number of fives that Bob will get.

Examples

Example 1

Loading
Loading