1(0)->a->2 2(0)->$->9 9(0)->$->7 9(0)->$->10 7(0)->$->3 7(0)->$->5 3(0)->a->4 4(0)->$->8 8(0)->$->7 8(0)->$->10 10(1) 5(0)->1->6 6(0)->$->8