Solution by Neil Bowers
