Factoring Foil