Task: Program Execution
Input (English): 2, 3, ['7167', 'p', 'Z', '3195', 'Y', 'i']
Output (English): Zp