https://github.com/VISUALBoostcampCV/CodingStudy/blob/812505642e44c831eb18c800deba9b42e47541f6/%5B211125%5D%20%ED%94%BC%EB%A1%9C%EB%8F%84/hans.py#L10 break로 시간복잡도 향상됨