Translate into English. Use the full form of the verbs.
Они сделали все, что могли, но все же проиграли матч.