Task: Program Execution
Input (English): z, b, 6781, L, 5211, t, M, s, a, z, g, M, 2353, V
Output (English): 1, 2, 4, 6, 7, 8, 9, 10, 11, 12, 14