program to read line of integer