El Hurón Legendario was given a magical circular array $$$A=[a_1,a_2,\dots,a_n]$$$ of size $$$n$$$ as a Christmas present last December. Since the array is circular, $$$a_1$$$ and $$$a_n$$$ are adjacent.
For a pair of positive integers $$$x$$$ and $$$y$$$, we say that $$$y$$$ is $$$A$$$-reachable from $$$x$$$ if $$$x$$$ can be transformed into $$$y$$$ by using the following four-step operation any number of times:
After playing with his magical array during a month and using it to transform all the integers less or equal to $$$2025!^{2025!}$$$, El Hurón Legendario wants to save space in its array box. For that reason, he wants to cut some subarray of his circular array and throw away the rest of it. He wants the chosen subarray to be equivalent to the original array. A subarray $$$A'$$$ of $$$A$$$ is equivalent to $$$A$$$, if, for all $$$x,y \in \mathbb{Z}^+$$$, $$$y$$$ is $$$A'$$$-reachable from $$$x$$$ if and only if it is $$$A$$$-reachable from $$$x$$$.
Help El Hurón Legendario find the smallest equivalent subarray he can cut.
The first line contains an integer $$$N$$$ ($$$1 \leq N \leq 2 \cdot 10^5$$$) – the length of the array.
The second line contains $$$N$$$ integers $$$a_1,a_2,\dots,a_N$$$ ($$$1 \leq a_i \leq 2 \cdot 10^5$$$) – the array $$$A$$$.
Print two integers $$$l$$$ and $$$r$$$, representing an equivalent subarray $$$A[l,r]$$$ of minimum length. If $$$l\leq r$$$, then it represents the subarray $$$[a_l,a_{l+1},\dots,a_r]$$$. Otherwise, if $$$l \gt r$$$, it represents the subarray $$$[a_l,\dots,a_N,a_1,\dots,a_r]$$$.
If there are multiple solutions, print any of them.
51 2 1 2 1
2 2
545622 1 1 1 43852
5 1
52 3 5 6 5
3 4