PROGRAMMING:Conversion of hexadecimal string to decimal non negative integer
Input a string ending with #, filter out all non hexadecimal characters (regardless of case), form a new string representing hexadecimal number, output the string and convert it to decimal number, and then output.
###Input format:
Enter a non empty string ending with #, no more than 80 characters in length, given in one line.
###Output format:
Line 1 outputs a string that has all non hexadecimal characters filtered out.
In line 2, output the converted decimal number. Ensure that the output results in the long integer range.
###Input example:
```in
-zy1+Ak0-bq?#
```
###Output example:
```out
1A0b
six thousand six hundred and sixty-seven
```
answer:If there is no answer, please comment
###Input format:
Enter a non empty string ending with #, no more than 80 characters in length, given in one line.
###Output format:
Line 1 outputs a string that has all non hexadecimal characters filtered out.
In line 2, output the converted decimal number. Ensure that the output results in the long integer range.
###Input example:
```in
-zy1+Ak0-bq?#
```
###Output example:
```out
1A0b
six thousand six hundred and sixty-seven
```
answer:If there is no answer, please comment