CODEFORCES : 404A-Valera and X