#26 solution