When using a scanner on a series of integers, how do I skip some integers?
<p>The  following code for example</p>

<pre><code>while (lineScan.hasNextLine()) {
   int x = lineScan.nextInt();
   x = lineScan.nextInt();
   x = lineScan.nextInt();
   x = lineScan.nextInt();
   x = lineScan.nextInt();
   System.out.println(x + "\n");
}
</code></pre>

<p>will print out every fifth integer.</p>

<p>Is there an easy way to skip over every fifth integer?</p>
