
The roof of the greenhouse has the shape of an equilateral triangle with side length . The roof is divided by lines parallel to its sides into small glass panels, each of which is an equilateral triangle with side length . The vertices of these small triangles are secured with bolts. The bolts are numbered sequentially with natural numbers starting from , arranged in rows from top to bottom, and within each row from left to right. The panels are numbered in a similar fashion (see figure).
If a bolt breaks, all panels connected to that bolt become unreliable and may fall. A safety engineer wants to determine which panels may fall if a given bolt fails.
Write a program that reads two integers: the side length of the roof (1 \leq N \leq 65,535), and the number of the bolt to check.
The program should output the numbers of the unreliable panels in ascending order.
Example 1