the_list = [5, 8, 10, 3, 4, 1, 9, 22, 21]
new_list = [the_list[el] for el in range(1, len(the_list)) if the_list[el] >
    the_list[el - 1]]
print(new_list)

d5f457fe47d9474f353828bca7a2f78e10d6de45
<mask token>

<mask token>
print(new_list)

the_list = [5, 8, 10, 3, 4, 1, 9, 22, 21]
new_list = [the_list[el] for el in range(1, len(the_list)) if the_list[el] >
    the_list[el - 1]]
print(new_list)
