Problem - 706E - Codeforces