## 1338.Jason's Ambition

### Description

Shandong
Normal University ACM-ICPC Association (SAIA) is lack of the history. Jason
want himself and YG, GYQ, WHC, TZY, ZXH and YuMa, LeiGe and coach Fang and Li
go down in the SDNUAIA annals forever.

In
the annals, we can figure out many interesting things. All the things like
that, Lei and Yu may both know the theory of game, but it was SYC taught Yu and
LBX taught Lei, and ZZK taught LBX, and finally it is a some humbling and
numinous power let ZZK and SYC got the theory of game. So we can say that Both
Lei and Yu are learn the theory of game from a some humbling and numinous
power. We are not concerned with who let the power got that theory.

In
the future, youâ€™ll get the annals, find the interesting things I want to know.

### Input

The
first line contains only one number ** N(1<=N<=10000)**. Then
the

**lines follow, each line contains two integers**

*N-1***and**

*A***. It indicates that A taught B something useful. The last line contains two integers**

*B (1<=A,B<=10000)***and**

*X***, the interesting thing you need to find.**

*Y(1<=X,Y<=10000)*### Output

Print
** Q** interesting things you found.

### Sample Input

5 2 3 3 4 3 1 1 5 3 5

### Sample Output

3