print("Case #1: POSSIBLE") print("C O DEJAM") print("Case #2: POSSIBLE") print("ABABABABA AAA") print("Case #3: IMPOSSIBLE")