Task: Program Execution
Input (English): 5983 6511 Q 6227 Q 3815 o T 1475 p Y 4521 5055 w v f z 2077 i U 8149 5721 1449 3459 N 223 647 3775 r 9547 4195 1693 L i 2725 471
Output (English): 5983, 6511, 17, 6227, 17, 3815, 15, 20, 1475, 16, 25, 4521, 5055, 23, 22, 6, 26, 2077, 9, 21, 8149, 5721, 1449, 3459, 14, 223, 647, 3775, 18, 9547, 4195, 1693, 12, 9, 2725, 471