solutions for 24..26