Task: Program Execution
Input (English): 2453 M V 9243 W 9077 m O 3403 v Y a 9023 D v Z 9119 Y K r T 8821 u 3701 B
Output (English): 1, 4, 6, 9, 13, 17, 22, 24