Task: Program Execution
Input (English): T, n, m, 2551, H, F, E, 5177, E, z, 7355, z, o
Output (English): 4, 8, 11