Demanded Input reading to Parser class