Problem - 977A - Codeforces