Task: Program Execution
Input (English): 2581, 7887, 8127, 7167, V, 4715, 9505, 6949, T, 9471, E, 3539
Output (English): 1, 2, 3, 4, 6, 7, 8, 10, 12