#679 Simple Permutation Problem