input from console examples