Task: Program Execution
Input (English): 3653, 5867, 6533, 8241, 4335, L, 4771, X, E
Output (English): 1, 2, 3, 4, 5, 7