Task: Program Execution
Input (English): 8777, P, z, 5013, l, 7231, 7187, H, T, 9743, g, f, F
Output (English): 2, 3, 5, 8, 9, 11, 12, 13