usa – Did I overstay my F1 visa by staying in the US for 5 months after graduation?

According to the dates written on my f1 visa paper, I did not overstay.

According to PROGRAM START/END DATE written on I-20 form, I did not overstay.

However I think F1 visa is valid as long as you are a student. As far as I remember, I had a right to stay in the us for 2 months after graduation (grace period). But I left 5 months after I graduated.

Did I overstay my visa?

I might apply for a US tourist visa and I think they ask if I overstayed previously. How should I answer this question?