Complete the code so that the warning is printed if the last two items in the list are the same.

Make sure to pick - followed by 1 and then -, 2.