write a go solution for Description: In winter, the inhabitants of the Moscow Zoo are very bored, in particular, it concerns gorillas. You decided to entertain them and brought a permutation p of length n to the zoo. A permutation of length n is an array consisting of n distinct integers from 1 to n in any order. For example, [2,3,1,5,4] is a permutation, but [1,2,2] is not a permutation (2 occurs twice in the array) and [1,3,4] is also not a permutation (n=3, but 4 is present in the array). The gorillas had their own permutation q of length n. They suggested that you count the number of pairs of integers l,r (1<=l<=r<=n) such that operatornameMEX([p_l,p_l+1,ldots,p_r])=operatornameMEX([q_l,q_l+1,ldots,q_r]). The operatornameMEX of the sequence is the minimum integer positive number missing from this sequence. For example, operatornameMEX([1,3])=2, operatornameMEX([5])=1, operatornameMEX([3,1,2,6])=4. You do not want to risk your health, so you will not dare to refuse the gorillas. Input Format: The first line contains a single integer n (1<=n<=2*10^5) — the permutations length. The second line contains n integers p_1,p_2,ldots,p_n (1<=p_i<=n) — the elements of the permutation p. The third line contains n integers q_1,q_2,ldots,q_n (1<=q_i<=n) — the elements of the permutation q. Output Format: Print a single integer — the number of suitable pairs l and r. Note: In the first example, two segments are correct – [1,3] with operatornameMEX equal to 4 in both arrays and [3,3] with operatornameMEX equal to 1 in both of arrays. In the second example, for example, the segment [1,4] is correct, and the segment [6,7] isn't correct, because operatornameMEX(5,4)neqoperatornameMEX(1,4).. Output only the code with no comments, explanation, or additional text.