Contrary

(contrary to – In contrast with) other companies , we survived the recession.

Choose

Why? Either is okay.

Because it is a question in my "interesting " book (By the ministry of Education)

Use
In contrast with.

Thinking about it, ‘contrary to’ probably needs something else:
Contrary to the fortunes of other companies…

Though having said that, the same could apply to ‘in contrast with’…