Task: Program Execution
Input (English): a f 6775 E 4201 1817 6109 3667 2055 7217 8485 P t N z 2935 2713 w N s b h a Q Q
Output (English): 1, 6, 6775, 5, 4201, 1817, 6109, 3667, 2055, 7217, 8485, 16, 20, 14, 26, 2935, 2713, 23, 14, 19, 2, 8, 1, 17, 17