eolymp
bolt
Try our new interface for solving problems
Problems

Bob the honors pupil

Bob the honors pupil

Time limit 1 second
Memory limit 128 MiB

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 data

Vasya's a ticket number n (0n9999).

Output data

Print the number of fives that Bob will get.

Examples

Input example #1
3533
Output example #1
1