Task: Program Execution
Input (English): 7, ['B', 'P', '9245', '571', '5659', '9565', '5183', '8925', '1383', '1583', '6911', '4113', 'g', 'G', '4097']
Output (English): B, 8925, 4097