Using IO for reading the input value.

Making sure that we return a IO.