Task: Program Execution
Input (English): n 1033 3399 1065 277 M j W q a r 1015 T n 8007 r 1311 N S 8515 8559 V J H 8621 8203 3151 z 6273
Output (English): 14, 1033, 3399, 1065, 277, 13, 10, 23, 17, 1, 18, 1015, 20, 14, 8007, 18, 1311, 14, 19, 8515, 8559, 22, 10, 8, 8621, 8203, 3151, 26, 6273