Read input from the user, and instantiate with the argument.