PROGRAMMING:Joseph Ring
N people form a circle and number them in sequence, starting from No.1 and counting in the order of 1, 2, 3, etc. the people who report P will withdraw from the circle, the others will report from No.1, 2, 3, and the people who report P will withdraw from the circle, and so on.
Please output the original serial number of each quitter in the order of quitting.
###Input format:
The input has only one line, including an integer n (1 < = n < = 3000) and an integer P (1 < = P < = 5000).
###Output format:
The original serial number of each quitter is output according to the quitting order. The data is separated by a space, but there is no space at the end of the line.
###Input example:
Here is a set of inputs. For example:
```in
7 3
```
###Output example:
```out
3 6 2 7 5 1 4
```
answer:If there is no answer, please comment
Please output the original serial number of each quitter in the order of quitting.
###Input format:
The input has only one line, including an integer n (1 < = n < = 3000) and an integer P (1 < = P < = 5000).
###Output format:
The original serial number of each quitter is output according to the quitting order. The data is separated by a space, but there is no space at the end of the line.
###Input example:
Here is a set of inputs. For example:
```in
7 3
```
###Output example:
```out
3 6 2 7 5 1 4
```
answer:If there is no answer, please comment