<a href="https://practice.geeksforgeeks.org/problems/pairs-of-non-coinciding-points4141/1" target="_blank"><i class="fa fa-external-link" aria-hidden="true"> Link -> Pairs of Non Coinciding Points</i></a>
Input Format
check the link
Output Format
check the link
Constraints
check the link
Example
Input
1 3 1 2 1 2 3 3
Output
2