Task: Program Execution
Input (English): R D 5831 4009 u 3791 y 7181 e P B L a 9543 x 8449 5795 8021 e 4567 7543 o X 6051 E Y 7667 8541
Output (English): 18, 4, 5831, 4009, 21, 3791, 25, 7181, 5, 16, 2, 12, 1, 9543, 24, 8449, 5795, 8021, 5, 4567, 7543, 15, 24, 6051, 5, 25, 7667, 8541