CF660B Seating On Bus
Description
Consider $ 2n $ rows of the seats in a bus. $ n $ rows of the seats on the left and $ n $ rows of the seats on the right. Each row can be filled by two people. So the total capacity of the bus is $ 4n $ .
Consider that $ m $ ( $ m
Input Format
The only line contains two integers, $ n $ and $ m $ ( $ 1
Output Format
Print $ m $ distinct integers from $ 1 $ to $ m $ — the order in which the passengers will get off the bus.