Sorry, no real Given here for this exercise.
(This serves as a placeholder for the solution, which you can't have ;-)
  
This program is short enough to write the whole thing yourself.
