How would you form a Yes/ No question for :
They lived in Riyadh?

Do they lived in Riyadh?

Did they live in Riyadh?

Are they lived in Riyadh?

Have they lived in Riyadh?