Task: Program Execution
Input (English): 6, 7, ['9703', 'Y', '5781', '1633', 'J', 'P', 'o', '8313', '8529', '9413', 'Y', '2507', '9563', 'U']
Output (English): P, o