fork download
  1. print(sum(x for x in map(int, input().split()) if x%5==0))
Success #stdin #stdout 0.02s 9228KB
stdin
5 7 10
stdout
15