Task: Program Execution
Input (English): 3, 4, ['8843', 'n', 'X', 'Z', 'y', '4429', 'o', 'q', '9325', 'p', 'D', 'G', 'X']
Output (English): XZ