Thank you very much to everyone!
I tried the paulinchen's solution and it works. SimonCino, I will try also the one you suggested it can be very useful in several contests.
Thank you very much to everyone!
I tried the paulinchen's solution and it works. SimonCino, I will try also the one you suggested it can be very useful in several contests.