Wyślij emailem: Chiral anomalies on a circle and their cancellation in F-theory