PROGRAMMING:Conversion of decimal string to decimal integer
Input a string ending with #, filter out all the non - dodecal characters (regardless of case) to form a new string representing the dodecal number, and then convert it to decimal number for output. Ensure that the output is in the long integer range.
###Input format:
Enter a non empty string that ends with # on one line.
###Output format:
Output the converted decimal number on one line. Ensure that the output is in the long integer range.
###Input example:
```in
+P-xf1+a-4! B#
```
###Output example:
```out
three thousand two hundred and twenty-seven
```
answer:If there is no answer, please comment
###Input format:
Enter a non empty string that ends with # on one line.
###Output format:
Output the converted decimal number on one line. Ensure that the output is in the long integer range.
###Input example:
```in
+P-xf1+a-4! B#
```
###Output example:
```out
three thousand two hundred and twenty-seven
```
answer:If there is no answer, please comment