They **would stay** in a hotel if they **had** more money. But they didn't.
*Explanation: This is a second conditional expressing what would happen in an imaginary situation if they had more money. The structure is: If + past simple, would + base form of the verb.*