def are_Equal(arr1,arr2,n,m):
    
    if (n != m):
        return False
    arr1.sort()
    arr2.sort()
    for i in range(0,n - 1):
        if (arr1[i] != arr2[i]):
            return False
    return True
def are_Equal(arr1, arr2, n, m):
    if n != m:
        return False
    arr1.sort()
   
    arr2.sort()
    for i2 in range(0, n - 1):
        if arr1[i2] != arr2[i2]:
            return False
    return True