Iaroslav Tverdokhlib's submission of Little Elephant and Swapping | CodeChef