Question: A department store in downtown Victoria, British Columbia, has 30 flags to hang along its roof line to celebrate Queen Victoria's birthday. If there are ten red flags, five white flags, seven yellow flags, and eight blue flags, how many ways can the flags be displayed in a row?