At an international conference, flags from 9 different countries will be displayed. Of these flags, 5 are from the continent of Europe and 4 flags are from the continent of Asia. The flags will be displayed in a row, alternating between continents. A flag from Europe will be in the first position. In how many ways can the flags be displayed?