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

        s = sum(self.nums)
        srt = sorted(self.nums)
        minodd = 0
        for m in srt:
            if m % 2:
                minodd = m
                break

        result = s if not s % 2 else s - minodd

        return str(result)
 Main calcualtion function of the class 
Main calcualtion function of the class
Main calcualtion function of the class
def calculate(self):
        s = sum(self.nums)
        srt = sorted(self.nums)
        minodd = 0
        for m in srt:
            if m % 2:
                minodd = m
                break
        result = s if not s % 2 else s - minodd
        return str(result)
def calculate ( self ) : s = sum ( self . nums ) srt = sorted ( self . nums ) minodd = 0 for m in srt : if m % 2 : minodd = m break result = s if not s % 2 else s - minodd return str ( result )
Main calcualtion function of the class
Main calcualtion function of the class
""" Main calcualtion function of the class """
self