solve codeforces 490A 490B
solve codeforces 490C