3. Invert the string and assign it to string array A..
2. Circularly detect array A, and sequentially detect each character of 1.
5. Judge the currently detected characters. If it belongs to ABCDEF, convert ABCDEF into 1 1... 16, otherwise do nothing.
6, accumulation, the current cycle number 16 times the numerical size of the current character.
7. The cumulative total output value is 10 decimal integer.