Go funny solution
\nfunc minimumSum(num int) int {\n    var digits []int\n    \n    for num > 0 {\n        digits = append(digits, num%10)\n        num /= 10\n    }\n    \n    so
```\nfunc minimumSum(num int) int {\n    var digits []int\n    \n    for num > 0 {\n        digits = append(digits, num%10)\n        num /= 10\n    }\n    \n    sort.Ints(digits)\n    \n    return digits[0]*10 + digits[2] + digits[1]*10 + digits[3]\n}\n```
['Go']