Task: Program Execution
Input (English): 3, 4, ['4105', 'v', 'Z', 'Q', 'v', '3245', '7365']
Output (English): QZ