Task: Program Execution
Input (English): 5347, V, M, 5153, 8819, R, h, v, O, N, Y, 89, x
Output (English): 2, 3, 6, 7, 8, 9, 10, 11, 13