Task: Program Execution
Input (English): 4, 4, ['4085', '4811', 'X', '7677']
Output (English): 7767