Task: Program Execution
Input (English): N j k p v 7741 2535 4601 L U 3335 O M 4757 6239 U 8773 8761 37 549 8547 S K 6575 c 4787 i 3107 5721 S 1757 3733 2327 3561 W J 3943 4351 3389 8361
Output (English): 1, 2, 3, 4, 5, 9, 10, 12, 13, 16, 22, 23, 25, 27, 30, 35, 36