I need help in solving 441E - Valera and Number. The editorial was very brief. I am a beginner and am not very familiar with such problems. Can somebody please give me a detailed explanation (in good english) of his or her solution including how such solutions can be arrived upon?
Thanks!