fork download
  1. m=int(input())
  2. n=int(input())
  3. k=int(input())
  4. for i in range(m,n+1,k): print(i)
Success #stdin #stdout 0.08s 14112KB
stdin
3
9
2
stdout
3
5
7
9