Solution for 18