easy solution || Python
\n\n# Code\n\nclass Solution:\n    def countGoodRectangles(self, rectangles: List[List[int]]) -> int:\n        squares=[min(i) for i in rectangles]\n        ret
\n\n# Code\n```\nclass Solution:\n    def countGoodRectangles(self, rectangles: List[List[int]]) -> int:\n        squares=[min(i) for i in rectangles]\n        return squares.count(max(squares))\n```
['Python3']