Task: Program Execution
Input (English): k 9985 P A 3641 1025 J 8797 I Q k y 8141 U 7031 Y 4851 9477 7883 8419 433 4021 333 7215 5833 b 6175
Output (English): 11, 9985, 16, 1, 3641, 1025, 10, 8797, 9, 17, 11, 25, 8141, 21, 7031, 25, 4851, 9477, 7883, 8419, 433, 4021, 333, 7215, 5833, 2, 6175