I have a list and i want to predict the next element of it.
for e.g lists = [1,2,3,1,2,3,1,2,3]
lists = [1,2,3,1,2,3,1,2,3]
I want my program to give output \'1\' and then \'