Task: Program Execution
Input (English): 7, 8, ['C', '4365', 'F', '6947', 'Z', '5971', '7393', '6097']
Output (English): 13490