$n$ 个人来做实验，有 $m$ 个房间，一开始所有人都在 $1$ 号房间里，有两个操作：
- 让第 $i$ 个人去房间 $j$
- 让区间 $[l,r]$ 的房间做实验
After observing the results of Spy Syndrome, Yash realised the errors of his ways. He now believes that a super spy such as Siddhant can’t use a cipher as basic and ancient as Caesar cipher. After many weeks of observation of Siddhant’s sentences, Yash determined a new cipher technique.
For a given sentence, the cipher is processed as:
Update your browser to view this website correctly. Update my browser now