Task: Program Execution
Input (English): 2, 7, ['b', 'G', 'P', 'W', '4723', 'M', '5431', '3765', 'D', 'M', '7387', 'x', '8019', 't', 'F', 'u', 'O']
Output (English): 5431M4723WPG