Task: Program Execution
Input (English): p z w S 6491 v 2853 d O D Y 6905 8323 S G T g A 9839 Y 8793 8033 d 2239 I c 2849 9939 2531 m 8969 c 99 7601 8839
Output (English): 1, 2, 3, 4, 6, 8, 9, 10, 11, 14, 15, 16, 17, 18, 20, 23, 25, 26, 30, 32