Reading input from the console input