https://coding-prep.com/2023/05/15/zerojudge-a034-%e4%ba%8c%e9%80%b2%e4%bd%8d%e5%88%b6%e8%bd%89%e6%8f%9b/