I have three science fiction novels and 2 fantasy novels on my shelf. In how many ways can I arrange the novels on the shelf so that no novel is directly sandwiched between two novels of the other genre on both sides? (i.e. we can't have a fantasy novel with sci-fi on both sides or vice versa). The order of the titles matters in deciding whether two arrangements are the same. Enter ONLY the numerical answer and no other text.