Rising input prices hurting farmers