Task: Program Execution
Input (English): 2, 3, ['5169', 'H', 'x', 'V', 'R']
Output (English): H, x