Take input from stdin