What is the maximum number of electrons that can be contained in an atom's orbitals having the following principal quantum numbers?

3=18

4=32

6=128

7=256