Task: Program Execution
Input (English): 6385, J, 4027, 2687, U, 7159, 1795, c, A, h
Output (English): J, U, c, A, h