Task 5 - 121045
Give all g-adic number systems in which the following problem has at least one solution, and determine all solutions of the problem for these number systems!

Which two-digit number in the g-adic number system has the property that, first, by swapping the two digits, another g-adic two-digit number is obtained, and that, second, by subtracting the latter from the first number, the number 12 in the same number system is obtained?
\end{abstract}

\title{