PROGRAMMING:Integer conversion
Programming to achieve the following functions: input a decimal positive integer and a positive integer n (n < 10), then convert the decimal integer into n-ary integer, and finally output the result.
Tip: you can save each digit of the n-ary integer into an array, and then output it in the required order.
###Input format:
A decimal positive integer, a positive integer n (n < 10), data separated by spaces.
###Output format:
The corresponding n-ary integer, and finally the output newline character.
###Input example:
```in
1234 2
```
###Output example:
```out
ten billion eleven million ten thousand and ten
```
answer:If there is no answer, please comment
Tip: you can save each digit of the n-ary integer into an array, and then output it in the required order.
###Input format:
A decimal positive integer, a positive integer n (n < 10), data separated by spaces.
###Output format:
The corresponding n-ary integer, and finally the output newline character.
###Input example:
```in
1234 2
```
###Output example:
```out
ten billion eleven million ten thousand and ten
```
answer:If there is no answer, please comment