Task: Program Execution
Input (English): G, 7169, 5, 1477, 7269, B
Output (English): G, B