Greatest Common Factor Foldable