Task: Program Execution
Input (English): 3, 4, ['B', 'c', 'O', 'G', 'T', '5733', '5925']
Output (English): G, O