Task: Program Execution
Input (English): g 9911 R 1223 g h Q 961 U 2073 I u O 2005 1463 157 9717 4917 9425 4273 w Q x s 1239 g c 5819 C 5593 T 2375 h
Output (English): 7, 9911, 18, 1223, 7, 8, 17, 961, 21, 2073, 9, 21, 15, 2005, 1463, 157, 9717, 4917, 9425, 4273, 23, 17, 24, 19, 1239, 7, 3, 5819, 3, 5593, 20, 2375, 8