Task: Program Execution
Input (English): j, 5123, 7107, U, 5433, 1381, k, P, 7553, 7527, 4193, 7739, D
Output (English): j, U, k, P, D