I have a list that looks roughly like this:
mylist = [[2, 20200101], [2, 20200108], [2, 20200101], [1, 20200110], [1, 2