# 2525. Categorize Box According to Criteria ###### tags: `Leetcode` `Easy` Link: https://leetcode.com/problems/categorize-box-according-to-criteria/description/ ## Code ```python= class Solution: def categorizeBox(self, length: int, width: int, height: int, mass: int) -> str: bulky, heavy = False, False if max(length, width, height)>=1e4 or length*width*height>=1e9: bulky = True if mass>=100: heavy = True if bulky and heavy: return "Both" if not bulky and not heavy: return "Neither" if bulky: return "Bulky" else: return "Heavy" ```