AT_abc392_c [ABC392C] Bib
Description
There are $ N $ people numbered from $ 1 $ to $ N $ .
Person $ i $ is wearing a bib with the number $ Q_i $ and is staring at person $ P_i $ .
For each $ i = 1,2,\ldots,N $ , find the number written on the bib of the person that the person wearing the bib with number $ i $ is staring at.
Input Format
The input is given from Standard Input in the following format:
> $ N $ $ P_1 $ $ P_2 $ $ \dots $ $ P_N $ $ Q_1 $ $ Q_2 $ $ \dots $ $ Q_N $
Output Format
Let $ S_i $ be the number written on the bib of the person that the person wearing the bib with number $ i $ is staring at.
Print $ S_1, S_2, \ldots, S_N $ in this order, separated by a single space.
Explanation/Hint
### Sample Explanation 1
Person $ 3 $ is wearing the bib with the number $ 1 $ , and the person that person $ 3 $ is staring at, person $ 2 $ , is wearing the bib with the number $ 3 $ . Thus, the answer for $ i = 1 $ is $ 3 $ .

### Constraints
- $ 2 \leq N \leq 3\times 10^5 $
- $ 1 \leq P_i \leq N $
- The values of $ P_i $ are distinct.
- $ 1 \leq Q_i \leq N $
- The values of $ Q_i $ are distinct.
- All input values are integers.