Task: Program Execution
Input (English): n, L, 8757, U, J, 3589, 2601, 571, A, 4569, D, Z, 2457, 1367, 1753, 247, K, 9745, p, h
Output (English): n, L, U, J, A, D, Z, K, p, h, 8757, 3589, 2601, 571, 4569, 2457, 1367, 1753, 247, 9745