Input: Ice melts into water
Ice melts into stone

Output: second