Periodic table of topological invariants