Task: Program Execution
Input (English): 1087, D, 6501, Y, Q, M, t, 627, 2799, 5593, q, J, h, z
Output (English): 2, 4, 5, 6, 7, 11, 12, 13, 14