2019 Multi-University Training Contest 5 - 1007 permutation 2

NoSuchKey