Task: Program Execution
Input (English): Z 5931 a 4343 u H 8917 6781 s y u 1513 P S 1665 5597 6577 L 7483 C 5883 5327 v v W 1639 693 7347 I 7521 5959 S 5803 5517 573 9501 L Q
Output (English): 26, 5931, 1, 4343, 21, 8, 8917, 6781, 19, 25, 21, 1513, 16, 19, 1665, 5597, 6577, 12, 7483, 3, 5883, 5327, 22, 22, 23, 1639, 693, 7347, 9, 7521, 5959, 19, 5803, 5517, 573, 9501, 12, 17