Determine all possible values of a duodecimal (base 12) positive integer N, such that N is obtained by adding the squares of its digits.

__Bonus Question__:

Determine all possible values of a octodecimal (base 18) positive integer N, such that N is obtained by adding the squares of its digits.

By observation i can find that

1 is a solution.

25 is the only solutions for a two digit base 12 number.