This problem is from a collection of competition problems bfrom around the world. This one is from a German Olympiad.
No download links available.