tm v1.0 starting reading input finished. start state q0 states:q0 q1 q2 q3 q4 q5 q6 final states:q6 trace states:No states to trace Sorted transition table: q0 #b q0 ## R q0 0 q1 #b R q0 1 q5 #b R q1 0 q1 0 R q1 1 q2 1 R q2 #b q4 #b L q2 0 q3 1 L q2 1 q2 1 R q3 #b q0 #b R q3 0 q3 0 L q3 1 q3 1 L q4 #b q6 0 R q4 0 q4 0 L q4 1 q4 #b L q5 #b q6 #b R q5 0 q5 #b R q5 1 q5 #b R q6 #b q6 ## R tape = 00000100 tm halted after 41 steps, at q6 with output: 000 tape = 010 tm halted after 10 steps, at q6 with output: tape = 0100 tm halted after 11 steps, at q6 with output: tape = 000010 tm halted after 24 steps, at q6 with output: 000 tape = 00001000 tm halted after 46 steps, at q6 with output: 0 No more input tapes. Stopping.