Solution
Cleaning previous solution
Calculate what number arrives
Very brute force, but it works