docs: function extract(num) {
    var hundredth = 0;
    var tenth = 0;
    var one = 0;
    if (num.length === 3) {
      hundredth = int(num[0]);
      tenth = int(num[1]);
      one = int(num[2]);
    }
  
    if (num.length === 2) {
      tenth = int(num[0]);
      one = int(num[1]);
    }
  
    if (num.length === 1) {
      one = int(num[0]);
    }
  
    return [hundredth, tenth, one];
  }