In this task your given two statements. You must judge whether the second sentence is the cause or effect of the first one. Label the instances as "cause" or "effect" based on your judgment. The sentences are separated by a newline character.

The man underwent emergency surgery.
He suffered a heart attack.
cause

The smoke alarm went off.
I burnt my dinner.
cause

The flame on the candle went out.
I blew on the wick.

cause