Task: Program Execution
Input (English): 4, 7, ['5103', '1491', '6853', 'y', 'v', '5427', 'B']
Output (English): 5427