Task: Program Execution
Input (English): 3, 8, ['879', '5445', '1409', '5283', 'Y', 'Z', '6191', '4777']
Output (English): 47776191ZY52831409