Task: Program Execution
Input (English): 3, 8, ['6843', '8899', 'y', 'Q', '243', '4941', 'f', 'D', 'g', '8285', 'H', '6947']
Output (English): 5184