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

        values = sorted(self.freq.values())
        result = [values[-1][2]+1, values[-1][3]+1]

        return str(" ".join(map(str, result)))
 Main calcualtion function of the class 
Main calcualtion function of the class
Main calcualtion function of the class
def calculate(self):
        values = sorted(self.freq.values())
        result = [values[-1][2]+1, values[-1][3]+1]
        return str(" ".join(map(str, result)))
def calculate ( self ) : values = sorted ( self . freq . values ( ) ) result = [ values [ - 1 ] [ 2 ] + 1 , values [ - 1 ] [ 3 ] + 1 ] return str ( " " . join ( map ( str , result ) ) )
Main calcualtion function of the class
Main calcualtion function of the class
""" Main calcualtion function of the class """
self