Task: Program Execution
Input (English): 3, 3, ['z', '2611', '3167']
Output (English): 3167