○ 正解です。

There are many different ways to show sympathy (同情).
For example :
Oh no.
That's too bad.
That's terrible.
How sad.

But if we are angry or frustrated with the other person, the phrase 'serves you right' (当然の報いだ) may be useful.