When I was in school, I was taught:
"I before E except...".
There is no actual answer to this because the "magic e" rule, which is "I before E except after C", is wrong.
There are more exceptions to the rule and thus it is no longer taught in schools.
There are 923 words in English that have "cie" in them, meaning there are 21 times as many words which break the rule than obey it.
Words which break the rule include: "glacier", "species", "concierge", "caffeine", "weird", "Madeira", "hacienda", "weir", "being" and "veil".