Task: Program Execution
Input (English): 3489, 9943, 4157, L, 4311, T, 5131, I
Output (English): 1, 2, 3, 5, 7