Task: Program Execution
Input (English): p, 2701, 567, 2405, 791, M, L, e, 5841, B
Output (English): 2701, 567, 2405, 791, 5841