Can you fill the gaps with the correct code snippets?

Make sure to first pick ( and ), then { and }.