Task: Program Execution
Input (English): 4, 7, ['1729', '5321', '949', 'r', 'K', 'O', 'U', 'H', 'Q', '6809']
Output (English): r, K, O, U