Task: Program Execution
Input (English): 5, 7, ['F', 'H', 'k', '541', '8503', '5729', 'T', 'P', '9681', 'j', 'V', 'h', '7781', 'k', '9891', '6967']
Output (English): T, 5729, 8503