class Clock(object):
    def __init__(self, hour, minute):
        self.hour = hour
        self.minute = minute
        self.total()

    def add(self, minutes):
        self.minute += minutes
        return self.total()

    def __eq__(self, otherclock):
        return str(self) == str(otherclock)

    def __repr__(self):
        return "%02d:%02d" % (self.hour, self.minute)

    def total(self):
        self.hour += self.minute // 60
        self.hour %= 24
        self.minute %= 60
        return self

370bd6eccdf73bf56150280433d8087aeed33ffd
class Clock(object):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

class Clock(object):
    <mask token>

    def add(self, minutes):
        self.minute += minutes
        return self.total()

    def __eq__(self, otherclock):
        return str(self) == str(otherclock)

    def __repr__(self):
        return '%02d:%02d' % (self.hour, self.minute)
    <mask token>

class Clock(object):

    def __init__(self, hour, minute):
        self.hour = hour
        self.minute = minute
        self.total()

    def add(self, minutes):
        self.minute += minutes
        return self.total()

    def __eq__(self, otherclock):
        return str(self) == str(otherclock)

    def __repr__(self):
        return '%02d:%02d' % (self.hour, self.minute)
    <mask token>

class Clock(object):

    def __init__(self, hour, minute):
        self.hour = hour
        self.minute = minute
        self.total()

    def add(self, minutes):
        self.minute += minutes
        return self.total()

    def __eq__(self, otherclock):
        return str(self) == str(otherclock)

    def __repr__(self):
        return '%02d:%02d' % (self.hour, self.minute)

    def total(self):
        self.hour += self.minute // 60
        self.hour %= 24
        self.minute %= 60
        return self

class Clock(object):
    def __init__(self, hour, minute):
        self.hour = hour
        self.minute = minute
        self.total()

    def add(self, minutes):
        self.minute += minutes
        return self.total()

    def __eq__(self, otherclock):
        return str(self) == str(otherclock)

    def __repr__(self):
        return "%02d:%02d" % (self.hour, self.minute)

    def total(self):
        self.hour += self.minute // 60
        self.hour %= 24
        self.minute %= 60
        return self
