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.07s 14160KB
stdin
3
100
5
stdout
3
8
13
18
23
28
33
38
43
48
53
58
63
68
73
78
83
88
93
98