Task: Program Execution
Input (English): 3, 8, ['4553', '8703', '1831', 'p', 'M', '8149', '3999', 'Z', 'V', '3039']
Output (English): Z39998149Mp1831