Task: Program Execution
Input (English): 8, 10, ['E', '7827', '3175', '8537', '6351', 'G', 'E', 'B', '1885', 'P']
Output (English): P5881B