train myself about code skills from Codeforces problemA