Problem - 603B - Codeforces