Task: Program Execution
Input (English): 8339, M, P, U, 5855, U, 1079, 4997, 3783
Output (English): 1, 5, 7, 8, 9