6 8 1 2 1 3 1 4 3 2 3 5 4 5 6 4 6 5 3 3 1 2 2 3 3 1 9 11 1 3 1 8 2 3 2 4 2 5 3 4 4 6 5 6 4 7 8 9 9 7
Case 1: 1 3 2 6 4 5 Case 2: map have circuit. Case 3: 1 2 3 4 5 6 8 9 7