
#Mthod 1
print("M.E.T.H.O.D.........................O.N.E")
lst1 = [1, 2, 3, 4, 5]
it = iter(lst1)
print(it.__next__())
print(it.__next__())
print(it.__next__())
print(it.__next__())
print(it.__next__())

#Mthod 2
print("M.E.T.H.O.D.........................T.W.O")

lst2 = [10, 11, 12, 13, 14, 15, 16]
it1 = iter(lst2)
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))
894e2cae3bfb56ed1d2f1079f58faba4742b3676
<mask token>

print('M.E.T.H.O.D.........................O.N.E')
<mask token>
print(it.__next__())
print(it.__next__())
print(it.__next__())
print(it.__next__())
print(it.__next__())
print('M.E.T.H.O.D.........................T.W.O')
<mask token>
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))

print('M.E.T.H.O.D.........................O.N.E')
lst1 = [1, 2, 3, 4, 5]
it = iter(lst1)
print(it.__next__())
print(it.__next__())
print(it.__next__())
print(it.__next__())
print(it.__next__())
print('M.E.T.H.O.D.........................T.W.O')
lst2 = [10, 11, 12, 13, 14, 15, 16]
it1 = iter(lst2)
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))


#Mthod 1
print("M.E.T.H.O.D.........................O.N.E")
lst1 = [1, 2, 3, 4, 5]
it = iter(lst1)
print(it.__next__())
print(it.__next__())
print(it.__next__())
print(it.__next__())
print(it.__next__())

#Mthod 2
print("M.E.T.H.O.D.........................T.W.O")

lst2 = [10, 11, 12, 13, 14, 15, 16]
it1 = iter(lst2)
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))
print(next(it1))