Task: Program Execution
Input (English): z a 1161 O 2501 Y 3701 7913 9761 1675 V 1111 x r 7015 P 4353 977 5601 z 2535 e 2717 q p X 6587 6701 z
Output (English): 26, 1, 1161, 15, 2501, 25, 3701, 7913, 9761, 1675, 22, 1111, 24, 18, 7015, 16, 4353, 977, 5601, 26, 2535, 5, 2717, 17, 16, 24, 6587, 6701, 26