Beauty Permutation Queries#11732