Task: Program Execution
Input (English): GgcgHh, BhcgGy
Output (English): cg