codeforces/554B_clean.py
def calculate(self):
        """ Main calcualtion function of the class """

        result = 0
        d = {}
        for i in range(len(self.list)):
            key = self.r2dec(i)
            if key in d:
                d[key] += 1
            else:
                d[key] = 1
        for n in d:
            if result < d[n]:
                result = d[n]
        return result
 Main calcualtion function of the class 
Main calcualtion function of the class
Main calcualtion function of the class
def calculate(self):
        result = 0
        d = {}
        for i in range(len(self.list)):
            key = self.r2dec(i)
            if key in d:
                d[key] += 1
            else:
                d[key] = 1
        for n in d:
            if result < d[n]:
                result = d[n]
        return result
def calculate ( self ) : result = 0 d = { } for i in range ( len ( self . list ) ) : key = self . r2dec ( i ) if key in d : d [ key ] += 1 else : d [ key ] = 1 for n in d : if result < d [ n ] : result = d [ n ] return result
Main calcualtion function of the class
Main calcualtion function of the class
""" Main calcualtion function of the class """
self