A 1Ă—6 square unit rectangular grid has to be covered with six 1Ă—1 square unit tiles. Three of the tiles are yellow, two are white, and one is blue. In how many ways can this task be done if no two neighboring tiles are the same color?