Problem A
Brexit
A long time ago in a galaxy far, far away, there was a large interstellar trading union, consisting of many countries from all across the galaxy. Recently, one of the countries decided to leave the union. As a result, other countries are thinking about leaving too, as their participation in the union is no longer beneficial when their main trading partners are gone.
![\includegraphics[width=0.75\textwidth ]{Europe_night.jpg}](/problems/brexit/file/statement/en/img-0001.jpg)
You are a concerned citizen of country
Input
The input starts with one line containing four space
separated integers
This is followed by
Initially, every country has at least one trading partner in the union.
Output
For each test case, output one line containing either “leave” or “stay”, denoting whether you home country leaves or stays in the union.
Sample Input 1 | Sample Output 1 |
---|---|
4 3 4 1 2 3 2 4 1 2 |
stay |
Sample Input 2 | Sample Output 2 |
---|---|
5 5 1 1 3 4 1 2 2 3 1 3 2 5 |
leave |
Sample Input 3 | Sample Output 3 |
---|---|
4 5 3 1 1 2 1 3 2 3 2 4 3 4 |
stay |
Sample Input 4 | Sample Output 4 |
---|---|
10 14 1 10 1 2 1 3 1 4 2 5 3 5 4 5 5 6 5 7 5 8 5 9 6 10 7 10 8 10 9 10 |
leave |