Task: Program Execution
Input (English): 3, 7, ['C', '5711', '9881', '2821', '1481', '3701', 'J', '2829', '1719', '3225', '4651', 'j', 'Q', '6911', 'B']
Output (English): 9881, 3225