def __ne__(self, other):
    if (type(self) is not type(other)):
        return (self.value != other)
    return (self.value != other.value)
def __ne__(self, other):
    if (type(self) is not type(other)):
        return (self.value != other)
    return (self.value != other.value)