Task: Program Execution
Input (English): g a 5149 O 311 1123 3947 4965 I e 6009 i F 3019 5429 G 4339 k 2727 k x F q x 2281
Output (English): 7, 1, 5149, 15, 311, 1123, 3947, 4965, 9, 5, 6009, 9, 6, 3019, 5429, 7, 4339, 11, 2727, 11, 24, 6, 17, 24, 2281