ハムであれば
hamudeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of ハム

1. If ham; When ham

Ba Conditional
Food