Task: Program Execution
Input (English): 3, 8, ['7307', '7945', '3925', 'H', 'p', '9517', 'v', 'v', '7371', '5367', '4567', '6631', '7371', 'T', 'v', '1809', 'P', 'd']
Output (English): 3925, 4567