Greater than previous

Greater than previous. Given a list of numbers, find and print all the elements that are greater than the previous element in the list.

Test Case Input (List of Numbers) Expected Output
1 1, 2, 1, 3, 2, 4 2, 3, 4
2 5, 3, 8, 6, 10, 2 8, 10
3 7, 9, 5, 6, 8, 7 9, 6, 8