Task: Program Execution
Input (English): 8, ['G', '7337', '4743', '1029', 'B', '3049', 'j', 'J', '9575', 'n', '2581', '6967', 'P', '1245', '2031', 'C', '3831', '8727']
Output (English): G, 9575, 3831