Task: Program Execution
Input (English): 2, 6, ['583', '3041', 's', 'X', '2171', '407', '475']
Output (English): 7041712Xs1403