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.11s 14148KB
stdin
10
2
2
stdout
10
8
6
4
2