Niloy painted each corner of a pentagon with any of the six colors. How can he color the corners of a pentagon so that the color of the two ends of an ear is not the same.