Clean C++/python solution
C++:\n\nclass Solution {\npublic:\n    string strWithout3a3b(int A, int B) {\n        if(A == 0) return string(B, \'b\');\n        else if(B == 0) return string
C++:\n```\nclass Solution {\npublic:\n    string strWithout3a3b(int A, int B) {\n        if(A == 0) return string(B, \'b\');\n        else if(B == 0) return string(A, \'a\');\n        else if(A == B) return "ab" + strWithout3a3b(A - 1, B - 1);\n        else if(A > B) return "aab" + strWithout3a3b(A - 2, B - 1);\n        else return strWithout3a3b(A - 1, B - 2) + "abb";\n    }\n};\n```\n\nPython:\n```\nclass Solution(object):\n    def strWithout3a3b(self, A, B):\n        if A == 0:      \n\t\t\treturn \'b\' * B\n        elif B == 0:    \n\t\t\treturn \'a\' * A\n        elif A == B:    \n\t\t\treturn \'ab\' * A\n        elif A > B:     \n\t\t\treturn \'aab\' + self.strWithout3a3b(A - 2, B - 1)\n        else:           \n\t\t\treturn self.strWithout3a3b(A - 1, B - 2) + \'abb\'\n```
[]