the German prepositions which take the dative vs. those that take the accusative or the genitive

I just remember bis, durch, für, gegen, ohne, um are accusative because it flows so well. The other ones are dative.