fork download
  1. x=int(input())
  2. licznik=0
  3. while x!=0:
  4. x=int(input())
  5. if x%5==0: licznik+=1
  6. print(licznik)
Success #stdin #stdout 0.11s 14040KB
stdin
5
2
4
20
35
0
stdout
3