Task: Program Execution
Input (English): 3, 3, ['Z', 't', '1077']
Output (English): 1077