You are given arrays . What will return the next function in the next picture.
Link to the image: https://ibb.co/vzFR5kr
Input format
Output format
Print an integer that denotes the answer to the question.
Answer is 2 (to verify this, you can simply implement this procedure)