The solutions on codeforces