solve 2 problems of codforces.com