Task: Program Execution
Input (English): W, 3689, 6543, 5471, 9865, a, A, p, j, m
Output (English): W, a, A, p, j, m