Task: Program Execution
Input (English): 14, 18, ['Y', '3949', '6419', '8145', '9757', '9093', '8909', '9885', '5989', '3277', '6213', '5775', '3655', 'd', 'z', 'B', '4393', 'N', '3117']
Output (English): d, z, B, 4393, N