Slightly sped up problem 15.