Byteasar has learnt a fabulous recursive method of shuffling a deck of cards. This algorithm can be described as follows:
Byteasar has a deck of 2n cards. Each of them has a number written on it. Byteasar now shuffles the deck, running the procedure described above exactly t times. As it might take a great amount of time, he would like to know the final order of the cards beforehand.
The first line of the input contains two integers n,t (1≤n≤20, 1≤t≤109). The second line contains 2n integers a_1,…,a_2n (1≤a_i≤109); a_i is the number written on the i-th topmost card in the deck.
In the first and only line of output print 2n integers -- the numbers written on the cards of Byteasar's deck after t shuffles. Print the numbers in the order from the topmost to the bottommost card.