Task: Program Execution
Input (English): P 2993 w 33 1419 263 3423 2905 B m l K Y g 2521 2031 I 2103 9815 1769 P p Q 6521 4979 5075 r
Output (English): 16, 2993, 23, 33, 1419, 263, 3423, 2905, 2, 13, 12, 11, 25, 7, 2521, 2031, 9, 2103, 9815, 1769, 16, 16, 17, 6521, 4979, 5075, 18