Purpose for keeping my own solution for codeforces problem set.