Task: Program Execution
Input (English): r, 8167, w, z, 49, 8189, 6843, W, 8231, m
Output (English): r, w, z, W, m