sergii/LTP — comment on commit a0dfde209cc63b49b11fd1300484f1212421fd5d
File:  line 0
By puts:

There is no check is user inputs ending year lower then start. In your case the execution of such code will go into infinite loop ;)