Task: Program Execution
Input (English): 7, 4871, 5505, Z, 81, A, u, P, c, 7455, W, 6309, O, R, E
Output (English): Z, A, u, P, c, W, O, R, E