Task: Program Execution
Input (English): 3, 7, ['7777', '8275', 'R', '4687', 'H', 'Z', '9381']
Output (English): 9381ZH4687R