Kkung was sitting the national college entrance exam, and the fourth period, the elective subjects section, had come around. That section works differently from the others: a student keeps only the subject booklets they registered for and drops the rest on the floor. While pulling out the subjects he was not taking, Kkung got curious.
Suppose the booklet has N pages in total. It is made from sheets of paper folded in half, so one sheet carries four pages. When N=12, page 1 and page 12 are printed on one side, page 2 and page 11 on the next side, and so on until page 6 and page 7 share a side. The first sheet therefore holds pages 1, 2, 11, 12, the second sheet holds pages 3, 4, 9, 10, and the third sheet holds pages 5, 6, 7, 8.
If Kkung drops the sheet that carries page 2, the pages that disappear with it are 1, 11, and 12.
Given one page number, find the other three pages printed on the same sheet.
Each line holds two integers N and P. N is the total number of pages in the booklet and is a multiple of 4 (4≤N≤1000). P is the chosen page number (1≤P≤N). The last line of the input holds a single 0.
For each test case, print the three missing page numbers in ascending order on one line, separated by spaces.