Task: Program Execution
Input (English): 3, 4, ['3215', 'b', '781', 'q']
Output (English): 781