Task: Program Execution
Input (English): 6343, Q, A, q
Output (English): Q, A, q