{ this file is TDEMO2.TXT }                                                  
{ this program tests whether a number is even or odd }
{ if the number is even the program outputs 11; if odd, it outputs 1 }       

{ S#=State  R=Read  W=Write  M=Move  N#=New State }

{ S# R  :  W  M  N# }

  1  0  :  0  R  1
  1  1  :  0  R  2

  2  0  :  0  R  4
  2  1  :  0  R  3

  3  0  :  1  R  4
  3  1  :  0  R  2

  4  0  :  1  R  5
  4  1  :  1  R  5

  5  0  :  0  H  5
  5  1  :  0  H  5
