def __ne__(self, other):
    result = self.__eq__(other)
    if (result is NotImplemented):
        return result
    else:
        return (not result)
def __ne__(self, other):
    result = self.__eq__(other)
    if (result is NotImplemented):
        return result
    else:
        return (not result)