Task: Program Execution
Input (English): 2059 f R W B 2993 U 9785 u 347 a 9965 w Q A L j 4803 657 C n c 567 7843 m d 4043 3161 U Q k 7999 1351 3063 W 437 G W p
Output (English): 2059, 6, 18, 23, 2, 2993, 21, 9785, 21, 347, 1, 9965, 23, 17, 1, 12, 10, 4803, 657, 3, 14, 3, 567, 7843, 13, 4, 4043, 3161, 21, 17, 11, 7999, 1351, 3063, 23, 437, 7, 23, 16