Task: Program Execution
Input (English): 3 k 4771 g 9333 6849 J d x p R 1063 u k 311 k 4069 2079 5131 1741 g 8683 R d 3685 y 2215 3917 3099 c 1375 c 537 2893 755 Y 8515
Output (English): 1, 3, 5, 6, 12, 15, 17, 18, 19, 20, 22, 25, 27, 28, 29, 31, 33, 34, 35, 37