Task: Program Execution
Input (English): 5, 12, ['1477', '2933', 'X', '8005', '8789', 'k', '8431', '3693', 'X', '8591', 'X', 'W']
Output (English): WX8591X36938431k8789