Task: Program Execution
Input (English): 12, 14, ['7771', '4961', '7083', 'I', '8085', 'R', '8931', 'W', '9367', '6021', 'K', '3197', 'T', 'p']
Output (English): 3197