Important fix to get last line on input
Sovled 89