solution to 22