My code of Codeforces.com