Task: Program Execution
Input (English): UMnKBy, WTnKFn
Output (English): nK