Task: Program Execution
Input (English): 4, 5, ['833', '659', 'g', 'S', '829', '6871', '4223', '1713']
Output (English): S829