Arithmetic and geometry of K3 surfaces and Calabi-Yau threefolds.