4 8 A B 16 A C 57 A D 65 B D 43 B C 11 C A 39 C D 9 D A 22 2 1 A B 10 3 3 A B 15 B C 16 C A 17 0 0
Case 1: 0 16 27 36 42 0 11 20 31 47 0 9 22 38 49 0 Case 2: 0 10 # 0 Case 3: 0 15 31 33 0 16 17 32 0