solved Ferma