Task: Program Execution
Input (English): 4, 6, ['J', 'd', 'z', '4211', 'G', 'U', 'N', '9831', '7951', 'z', 'F']
Output (English): U, G, 4211