- The first thing I did was buy the tickets to go to Europe.
- The first thing I did was to buy the tickets to go to Europe.
- The first thing I did was buying the tickets to go to Europe.
Can someone tell me which of the following sentences is correct and why?