Task: Program Execution
Input (English): 9, 10, ['B', '6495', 'X', 'I', '8153', '3275', '3921', 'a', '77', 'N', 'Y', 'i', '9497']
Output (English): 77, N