Task: Program Execution
Input (English): 2, 4, ['9791', 'P', 'X', '3123', 'z', '695', 'y', 'c', '4027', 'n', '1767', 'w']
Output (English): 3123, X, P