Task: Program Execution
Input (English): 4, 5, ['g', '4473', '9497', '5443', 'F', '8517', 'S']
Output (English): 5443