Accept input from stdin