# [Julia 1.7](https://julialang.org) + Combinatorics, 74 bytes

```
using Combinatorics
~x=argmin(p->keys(sum.(p)∪0)=>sum.(p),partitions(x))
````

[Attempt This Online!](https://ato.pxeger.com/run?1=jVTLbttGFF20K37FdQwEJDyiTUmRZaYS-li1RYACCbohuBgyY2sockRwhoXdxF73H7rJJpt8R36iWeZLeudBipRUoIQgkXPPuefcMyP-_bFoS04_fPn28znUtFFc8Z2QwAX8tKsyLqjaNTyX3jlslKplfHl5x9WmzcJ8V13-ormvqNpcjsBhUXqeVE2bK3jN1G9923dvvot_yLBCc_U7yxH96AFeMo7feEy89X6kkoUlE3dq49dxPCIHsAIhmdq79DtkKIPAclmpHmp2kmsF37mfDojUx0dv0BO9jC1q7qiZLwPvthW5fgCjyhVrqDoha6YT2GDg1Kz1DAL-n6zZSf9noWZTAiIgsBNs_zyJcEUQiHBEHdH_UybghGQSpfiBNVzB8-fQMNU2wtpi92oYpzaHtDAMD4SOgEcREaAEMmOzsrI9uaJbppmYmkG5ur4Uq2qMJpG84iVtNOAqgNtdA1tcvoqrtIfqRY6LUSz6NX3Vrdyc-bpRQhOeXkQpToA3exE9Sd-FlxjXmX_GJTLUAzEWLLbD8VtwVdzml-ACAz-R2Np3p4YGiVZyT1mQpN0Wvdx30lOj5WEAlLjxUYUmCEzhDBG9Qbd2gYNaU6VkfbHQoYwSKfQSHpAYP9EoF10oitESTYoihdUKMnPz_j1kDaPbk0EhduBCXxU2xBPpIzkN4AJ8A7HdBml3m1dc4E5NogMD23Q0gr4yu1j9hw0TR8fpSt2W6FSJT0lGBOZqDu3HVt1Olv_8et5KLu4OXmFP9yva3FUcT_pkvWUPuCNtFfp18PWvT1fBau2eyOBlcB8EruXWHkF8L2Jqb0uu_6J2bkpytMj-oGXov2KKhsjHf6Yv65Irn5Nnk_WzILDYuuFClcKnq_UTtUvfUykZnpRcp_lE91N8-PJNntwQeIEHiwC-CvB-mnbZTNYAiSnj2UsGgNTTT_iZGeo1gfkByZYNb6ar-Hutabb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