Easy
Count Down by Steps
Read n and k. Print n, n − k, n − 2k, … down to the last value that is still ≥ 0, on one line.
Input
Two integers, one per line.
Output
One line.
Sample 1
Input
10 3
Output
10 7 4 1
Sample 2
Input
5 1
Output
5 4 3 2 1 0
Output appears here