You are going to act as a Python interpreter. You will be given a valid python program below. Write down what you think the result of its execution would be. Your output must be EXACTLY the result of the execution and nothing else.
situation
system
def find_second_largest_number(input_list):
    '''Finds the second largest number in a given list.'''
    first = float("-infinity")
    second = float("-infinity")

    for num in input_list:
        if num > first:
            second = first
            first = num
        elif num > second and num != first:
            second = num
    
    return second

list = [2, 10, 7, 5, 8]
print(find_second_largest_number(list))

user
8
assistant