In a country X, all the ants move in a circle. There is a circle marked with N marks with numbers from 1 to N clockwise. There are M ants on the circle. No two ants stand on the same mark initially. It is also known in which direction each ant will move. If two ants meet during the movement, then each of them begins to move in a different direction. Your task is to determine where the ants will be after T seconds of such movement.
Input format
Output format
In the first line, print M integers in ascending order denoting the positions where the ants will be in T seconds after such obsessive moves.
Constraints
2≤N≤109
1≤M≤103
1≤T≤103
1≤x≤N
y∈{−1,1}
In the test first and second ants swaping position.