Task: Program Execution
Input (English): 2, 6, ['X', '5037', 'I', '6173', 'A', '7731', 's']
Output (English): 1377A3716I7305