title: Is there a way to coalesce repeated numbers in a list using streams in Java 8?
body: <p>e.g.#1 
  <code>[1, 1, 1, 2, 22, 35, 35, 120, 320]</code> ==>> <code>[3, 2, 22, 70, 120, 320]</code></p>
  
  <p>note how repeated consecutive 1's and 35's are coalesced to 3 and 70 respectively</p>
  
  <p>e.g.#2
  <code>[1,1,3,1,1]</code> ==>> <code>[2,3,2]</code></p>