1099-B Purchase Cost unknown

I have a 1099-B from some stock I sold this year.  These shares were a gift from my grandfather probably 30 years ago.  I have no idea what he purchased this for or exactly when.  Any ideas of what to do?

Thanks