Input: An entranceway is for entering a place.
An exit is for entering a place.

Output: second