import java.math.BigInteger; class Solution { public String smallestGoodBase(String n) { BigInteger sum = new BigInteger(n); } private static void testSmallestGoodBase(String n) { Solution solution = new Solution(); System.out.println(solution.smallestGoodBase(n)); } public static void main(String[] args) { testSmallestGoodBase("32141432"); } }