Read these sentences and open the brackets using the past perfect or the past perfect continuous. Write only the verb forms.
1. Kate
the walls all day before she finished them. (paint)
2. Tom
for a job for five months when he found one. (look)
3. Stan
as a manager for twenty years when he retired. (work)