- # https://stackoverflow.com/questions/73582708/does-re-finditer-store-the-values-it-finds-in-the-memory 
-   
- def stupid_iterator(seq): 
-     """Make an iterator for seq""" 
-     def _iter(): 
-         return seq.pop(0) 
-     return _iter 
-   
- i = stupid_iterator([1, 2, 3]) 
- print(i) # for fun 
- print(i()) 
- print(i()) 
- print(i()) 
- print(i()) 
-   
				IyBodHRwczovL3N0YWNrb3ZlcmZsb3cuY29tL3F1ZXN0aW9ucy83MzU4MjcwOC9kb2VzLXJlLWZpbmRpdGVyLXN0b3JlLXRoZS12YWx1ZXMtaXQtZmluZHMtaW4tdGhlLW1lbW9yeQoKZGVmIHN0dXBpZF9pdGVyYXRvcihzZXEpOgogICAgIiIiTWFrZSBhbiBpdGVyYXRvciBmb3Igc2VxIiIiCiAgICBkZWYgX2l0ZXIoKToKICAgICAgICByZXR1cm4gc2VxLnBvcCgwKQogICAgcmV0dXJuIF9pdGVyCgppID0gc3R1cGlkX2l0ZXJhdG9yKFsxLCAyLCAzXSkKcHJpbnQoaSkgIyBmb3IgZnVuCnByaW50KGkoKSkKcHJpbnQoaSgpKQpwcmludChpKCkpCnByaW50KGkoKSkK
				
				
				
				
				
			 
			
				
			
			
				
	
		
		
	
	
		<function stupid_iterator.<locals>._iter at 0x1513b07a3ea0>
1
2
3
	 
		
	 
	
		
	
	
        Traceback (most recent call last):
  File "./prog.py", line 14, in <module>
  File "./prog.py", line 6, in _iter
IndexError: pop from empty list