Task: Program Execution
Input (English): [8105, 1303, '8471', 'F', 'p', 'G'], [5497, 7415, '8471', 'F', 'Y', 'M']
Output (English): 8471, F