Input: ice releases heat when melting
ice absorbs heat when melting

Output: first