Task: Program Execution
Input (English): q, t, 367, 351, v, 147, w, 401, a, 53, t, 341, e, k
Output (English): 0, 1, 3, 4, 5, 6, 7