Problem - 578A - Codeforces