Explain the effect of rise in input prices on supply of a commodity

In case of increase in input price, marginal cost tends to rise. Accordingly, producers will supply less of the commodity at its existing price because of a fall in their profits.