Solved SPOJ/PERMUT2