Task: Program Execution
Input (English): U g 3915 M P 2391 u h a 207 2263 3889 563 e 3207 4931 5407 g j s p 2131 8019 1713 Z A 3741 x
Output (English): 21, 7, 3915, 13, 16, 2391, 21, 8, 1, 207, 2263, 3889, 563, 5, 3207, 4931, 5407, 7, 10, 19, 16, 2131, 8019, 1713, 26, 1, 3741, 24