# create three rails add track (0,2) -> (0,0) add track (0,0) -> (0,-2) add track (0,-2) -> (0,-4) delete track 2 delete track 1 delete track 2 delete track 3 # try to delete track under train add track (-5,0) -> (0,0) add track (0,0) -> (5,0) create engine diesel ABC DEF 1 true true add train 1 ABC-DEF put train 1 at (0,0) in direction 1,0 delete track 1 exit