Task: Program Execution
Input (English): 1, 5, ['n', 'n', '7777', 'B', 'G', '3235', '5827', '315', '4677', '381']
Output (English): GB7777nn