Input: all rivers are from mountains
all mountains are in river

Output: second