Task: Program Execution
Input (English): HhRRJs, ZQRRBM
Output (English): RR