Tiancheng Lou's submission of Misha and Permutation | CodeChef