Task: Program Execution
Input (English): 3, 5, ['6419', 'Z', '895', '6049', '1879']
Output (English): 8823