Task: Program Execution
Input (English): 6, 7, ['r', 'H', '9051', '4817', 'L', '6751', '1403', '2017', 'H', '4861', '5097', 'c', '6623', 'R', 'F', 'x']
Output (English): 6751, 1403