class SessionState:
    def __init__(self):
        self.a0 = 0
        self.a1 = 1
        self.a2 = 2
        self.a3 = 3
        self.a4 = 4
        self.a5 = 5
        self.a6 = 6
        self.a7 = 7
        self.a8 = 8
        self.a9 = 9

    def snapshot(self):
        return self.a0

    def restore(self):
        return self.a1

    def clear(self):
        return self.a2
