Fix input

Now input from console