Case 1: 0 0 3 0 1 2 1 0 2 1 3 0 Case 2: Impossible.