Task: Program Execution
Input (English): 5809 I G F 2935 A 1387 h 1563 7321 x 2365 k 2037 489 D o 6389 s l p 7409 T 5613 F B 8147 H s 5007 a 9213 7861
Output (English): 5809, 9, 7, 6, 2935, 1, 1387, 8, 1563, 7321, 24, 2365, 11, 2037, 489, 4, 15, 6389, 19, 12, 16, 7409, 20, 5613, 6, 2, 8147, 8, 19, 5007, 1, 9213, 7861