Task: Program Execution
Input (English): 7, 8, ['B', 'k', '4019', '9077', 'K', 'G', 'W', '9915', '4411', 'i', '1367']
Output (English): 5199W