Convert a whole number written in octal (base 8) into its exact decimal (base 10) integer value. Only digits 0 through 7 are valid in the input, and leading zeroes do not change the value.
The converter supports up to 1,000 octal digits and uses integer arithmetic to preserve large results without floating-point rounding. It does not accept signs, fractions, or base prefixes.