Editorial
Need a hint? Checkout the editorial.
View Editorial
Editorial
The machine either works twice, once, or no times. If it doesn’t work either time, the order remains the same. If it works once, the order changes and remains changed. If it works twice, it changes the order the first time and might return to the first order by working the second time.