Task: Program Execution
Input (English): 2867, 8009, 3837, 5391, 5231, 2873, e, 6819, T, 9781
Output (English): 1, 2, 3, 4, 5, 6, 8, 10