public static void main(String[] args) {
    String account = args[0];
    int[] base10mio = new int[3];
    base10mio[2] = Integer.parseInt(account.substring(
        Math.max(0, account.length() - 7)));
    if (account.length() > 7) {
      base10mio[1] = Integer.parseInt(account.substring(
          Math.max(0, account.length() - 14), account.length() - 7));
      if (account.length() > 14) {
        base10mio[0] = Integer.parseInt(account.substring(0, account.length() - 14));
      }
    }
    int[] base32 = new int[13];
    for (int i = 0; i < 13; i++) {
      int[] result = new int[3];
      while (subtract(base10mio, exponents[i], result)) {
        base32[i]++;
        if (i == 0 && base32[i] >= 16) {
          throw new IllegalArgumentException(account + " is bigger than 2^64-1.");
        }
        base10mio = result.clone();
      }
    }
    System.out.println(Arrays.toString(base32));
  }