Task: Program Execution
Input (English): 4, 5, ['1197', 'F', '495', 'h', '6121', 'a', 'd', 'c', '4775', 'u', 's', 'x', 'C']
Output (English): 6121