CSES - KILO 2017 5/5 - Brexit
  • Time limit: 3.00 s
  • Memory limit: 512 MB

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.

You are a concerned citizen of country X, and you want to find out whether your country will remain in the union or not. You have crafted a list of all pairs of countries that are trading partners of one another. If at least half of the trading partners of any given country Y leave the union, country Y will soon follow. Given this information, you now intend to determine whether your home country will leave the union.

Input

The input starts with one line containing four space separated integers: total number of countries n, the number of trading partnerships m, the number of your home country X and the number of the first country to leave L.

This is followed by m lines, each containing two space separated integers a_i and b_i. Such a line denotes a trade partnership between countries a_i and b_i. No pair of countries is listed more than once.

Initially, every country has at least one trading partner in the union.

Output

Output one line containing either leave or stay, denoting whether your home country leaves or stays in the union.

Constraints

  • 1 \le n \le 2 \cdot 10^5
  • 1 \le m \le 3 \cdot 10^5
  • 1 \le X \le n
  • 1 \le L \le n
  • 1 \le a_i, b_i \le n, a_i \neq b_i

Examples

Input:

4 3 4 1
2 3
2 4
1 2

Output:

stay

Input:

5 5 1 1
3 4
1 2
2 3
1 3
2 5

Output:

leave

Input:

4 5 3 1
1 2
1 3
2 3
2 4
3 4

Output:

stay

Input:

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

Output:

leave