Codeforces Round #175 Problem D Permutation Sum