Task: Program Execution
Input (English): 6, 7, ['R', '459', '1873', '651', '6295', 'Z', 'H', '1887', '381', '7905', '2541', '8627']
Output (English): H, Z