Task: Program Execution
Input (English): 6251, T, 9291, 807, q, 7933, 9639, t, u, 719, E
Output (English): 1, 3, 4, 6, 7, 10