Hi there welcome to the forum of Codingame.
Here are some basic rules that you must follow before posting:
- SEARCH if your topic doesn't exists already before creating a new one, most puzzle already have a dedicated topic where you'll probably found the answer of your question
- LEARN the basic programming skills, minimum is variables, conditional statement and loops
- DESCRIBE what is your problem, what you did, what does the compiler/game said to you, what happened etc
- KEEP your code to yourself, else you're preventing other people from learning, and we're not here to solve it for you, full code will always be erased, small portion of code (2-5 lines) which really are necessary to understand your problem is allowed
4 rules, that's not much, but if everybody follow this, it'll be much easier for everyone to have useful conversation here.
For additional question that isn't answered here, please check the Frequently Asked Questions