print('''Case #1: POSSIBLE CO DEJ MA Case #2: POSSIBLE CODE JA M Case #3: IMPOSSIBLE''')