Problem - 367A - Codeforces