Task: Program Execution
Input (English): 6, 12, ['2481', '7171', 'p', 'a', 'A', 'O', '7031', 'F', '5925', '3155', 'S', 'D', '1341']
Output (English): O7031F59253155SD