Error encountered on input line number 4