Task: Program Execution
Input (English): 2, ['1165', 'K', 'H', 'X', '461', 'h', '391', '1119', 'z', 'r', 'T', 'E']
Output (English): 1165, H, 461, 391, z, T