Minimum Number of swaps in an Array A, such that the condition A[i]%3=i%3 is satisfied at every index i.