Day6 solution