Task: Program Execution
Input (English): 2, 3, ['2813', '777', 'E', 'G', '4041', '9957', 'P', 'M']
Output (English): E777