Input: Stone is liquid
Stone is solid

Output: first