 <p>change:</p> <pre><code>w=console.next(); </code></pre> <p>to:</p> <pre><code>w=console.nextLine(); </code></pre> <p>".next()" gets the next word, if you want the whole input you need to use ".nextLine()". Hope this helps :)</p>