Task: Program Execution
Input (English): C d a K M 1165 7623 8839 2943 v F 2373 U 307 g d 971 Y 7119 F 6231 h 5253 9815 1251 7389 S k 3521 w O 375
Output (English): 1, 2, 3, 4, 5, 10, 11, 13, 15, 16, 18, 20, 22, 27, 28, 30, 31