In a school 5 colors are allotted lo each house. If the flag of Tagore House has to be a sequence of three blocks of different colors, then how many flags can they choose from?