Task: Program Execution
Input (English): BAEBdGWM, exEBdGGB
Output (English): EBdG