Task: Program Execution
Input (English): 3, 4, ['t', '9179', 'A', '4781', 'P', 'y']
Output (English): 4781A