Bob the honors pupil
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Bob is a the 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 2 - class), he knows that this day he will receive such number of fives, how many of them in his ticket. Given today's Vasya's ticket number, determine how many fives he will get today.
Input
Vasya's a ticket number n (0 ≤ n ≤ 9999).
Output
Print the number of fives that Bob will get.
Examples
Input #1
Answer #1
Submissions 15K
Acceptance rate 66%