Interesting Ranges solutions

Interesting Ranges was solved using Java by 4 contestants. Solution sizes: average 3591 bytes (shortest: 1771; longest: 5271).