SP7734 TWIST - Twist and whirl - want to cheat
Description
[English](/problems/TWIST/en/) [Vietnamese](/problems/TWIST/vn/)A well-known sharper I\*\*\* invented a new way to swindle people. There are N thimbles on the table, and there is a small ball with the number under each of them. The balls are numbered with numbers from 1 to N from left to right. At one operation I\*\*\* changes the order of some subsequence of successive thimbles to the opposite. Your task is to find the order of numbers (from left to right) in sequence after all of his manipulations. The total number of manipulations is M.
Input Format
N/A
Output Format
N/A