from literal import Literal class MinValue(Literal): def __init__(self): super().__init__(0) def __gt__(self, other): return False def __ge__(self, other): return False def __lt__(self, other): return True def __le__(self, other): return True def __eq__(self, other): return False class MaxValue(Literal): def __init__(self): super().__init__(0) def __gt__(self, other): return True def __ge__(self, other): return True def __lt__(self, other): return False def __le__(self, other): return False def __eq__(self, other): return False