Task: Program Execution
Input (English): z, 9915, 1739, 2471, M, 2681, h, o, 2111, 2687, 6005, 8485, p, s, i, 2947, 553, p, d, G, J, u, v, Z
Output (English): 1, 5, 7, 8, 13, 14, 15, 18, 19, 20, 21, 22, 23, 24