def parser(x, y):
    try:
        x = int(x)
        y = int(y)
        if x not in range(10):
            x, y = -1, -1
        if y not in range(9):
            x, y = -1, -1
    except ValueError:
        x, y = -1, -1
    return x, y


class Message:

    def set_XY(self, x, y):
        self.x = x
        self.y = y

    def get_XY(self):
        return self.x, self.y


MSG = Message()

1dabc7a5dfc1486d3f24b2e6f81cf1946b3c18cc
<mask token>


class Message:
    <mask token>
    <mask token>


<mask token>

<mask token>


class Message:

    def set_XY(self, x, y):
        self.x = x
        self.y = y
    <mask token>


<mask token>

def parser(x, y):
    try:
        x = int(x)
        y = int(y)
        if x not in range(10):
            x, y = -1, -1
        if y not in range(9):
            x, y = -1, -1
    except ValueError:
        x, y = -1, -1
    return x, y


class Message:

    def set_XY(self, x, y):
        self.x = x
        self.y = y

    def get_XY(self):
        return self.x, self.y


<mask token>

def parser(x, y):
    try:
        x = int(x)
        y = int(y)
        if x not in range(10):
            x, y = -1, -1
        if y not in range(9):
            x, y = -1, -1
    except ValueError:
        x, y = -1, -1
    return x, y


class Message:

    def set_XY(self, x, y):
        self.x = x
        self.y = y

    def get_XY(self):
        return self.x, self.y


MSG = Message()
