Function to checks if any permutation of the array exists whose sum of adjacent pairs is not divisible by 3
def factorsOf3 ( arr , N ) : NEW_LINE INDENT a = 0 NEW_LINE b = 0 NEW_LINE c = 0 NEW_LINE for i in range ( N ) : NEW_LINE DEDENT