Αποστολή με SMS: Gravitational F-terms of SO/Sp gauge theories and anomalies