1. You are given 3 different array A,B and C of same size N.
2. Return number of index i such that:Ai=Bi+Ck where k can lie between [1,N].
Input Format
First line contains N Second line contains 3*N space separated integers(array elements of respective arrays).
Output Format
Return integer.
Constraints
1<=N<=1000 1<=Ai,Bi<=100 -100<=Ci<=100
Notice
Try First, Check Solution later
1. You should first read the question and watch the question video.2. Think of a solution approach, then try and submit the question on editor tab.3. We strongly advise you to watch the solution video for prescribed approach.Example
Input
3 1 2 3 3 2 4 0 5 -2
Output
2