Task: Program Execution
Input (English): 6543, 3127, G, w, B
Output (English): 9670