Solution for 2.22