Input 1 1 2 2 3Output 1 2 5 6 8
Chapter 1, Problem 18(choose chapter or problem)
Input 1 1 2 2 3Output 1 2 5 6 8
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer