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

        while self.step():
            pass

        return "YES" if self.yes else "NO"
 Main calcualtion function of the class 
Main calcualtion function of the class
Main calcualtion function of the class
def calculate(self):
        while self.step():
            pass
        return "YES" if self.yes else "NO"
def calculate ( self ) : while self . step ( ) : pass return "YES" if self . yes else "NO"
Main calcualtion function of the class
Main calcualtion function of the class
""" Main calcualtion function of the class """
self