Can someone please help with the following?

What are the word classes of the following 'out's?
Their plan didn't work out so he dropped out of the arrangement.