A horseshoe is a U-shaped item made of metal or of modern synthetic materials, nailed or glued to the…