Task: Program Execution
Input (English): 1, 9, ['4287', 'Q', '2601', '6757', '5087', '2879', 'g', '475', '9125']
Output (English): 31211