Just a sugestion. There are 7! different arrangements. In all of those, either "e" is before "i" or "i" is before "e". If you consider all the arrangements where "e" is before "i", there will be EXACTLY the same number of arrangments where "i" is before "e" (as you simply interchange e with i)...