from abc import ABCMeta, abstractmethod


class State(metaclass=ABCMeta):

    def __init__(self, calculator):
        self.calculator = calculator

    @abstractmethod
    def input_digit(self, digit):
        pass

    @abstractmethod
    def input_operation(self, operator):
        pass

    @abstractmethod
    def input_equals(self):
        pass

ab2690dc0de8d803bb69accbee08bb78e0569a14
<mask token>


class State(metaclass=ABCMeta):
    <mask token>

    @abstractmethod
    def input_digit(self, digit):
        pass
    <mask token>
    <mask token>

<mask token>


class State(metaclass=ABCMeta):
    <mask token>

    @abstractmethod
    def input_digit(self, digit):
        pass

    @abstractmethod
    def input_operation(self, operator):
        pass

    @abstractmethod
    def input_equals(self):
        pass

<mask token>


class State(metaclass=ABCMeta):

    def __init__(self, calculator):
        self.calculator = calculator

    @abstractmethod
    def input_digit(self, digit):
        pass

    @abstractmethod
    def input_operation(self, operator):
        pass

    @abstractmethod
    def input_equals(self):
        pass

from abc import ABCMeta, abstractmethod


class State(metaclass=ABCMeta):

    def __init__(self, calculator):
        self.calculator = calculator

    @abstractmethod
    def input_digit(self, digit):
        pass

    @abstractmethod
    def input_operation(self, operator):
        pass

    @abstractmethod
    def input_equals(self):
        pass
