class reverse_iter:
    def __init__(self,List):
        self.List=List;
        self.count=len(self.List)-1

    def __iter__(self):
        return self

    def next(self):
        if 0 <= self.count < len(self.List):
            ele=self.List[self.count]
            self.count-=1
            return ele
        else:
            raise StopIteration()

e0905482558d7b0c63844d638f5d31ed87ffd954
class reverse_iter:
    <mask token>
    <mask token>
    <mask token>

class reverse_iter:
    <mask token>

    def __iter__(self):
        return self
    <mask token>

class reverse_iter:

    def __init__(self, List):
        self.List = List
        self.count = len(self.List) - 1

    def __iter__(self):
        return self
    <mask token>

class reverse_iter:

    def __init__(self, List):
        self.List = List
        self.count = len(self.List) - 1

    def __iter__(self):
        return self

    def next(self):
        if 0 <= self.count < len(self.List):
            ele = self.List[self.count]
            self.count -= 1
            return ele
        else:
            raise StopIteration()

class reverse_iter:
    def __init__(self,List):
        self.List=List;
        self.count=len(self.List)-1

    def __iter__(self):
        return self

    def next(self):
        if 0 <= self.count < len(self.List):
            ele=self.List[self.count]
            self.count-=1
            return ele
        else:
            raise StopIteration()
