# $$ABC_7 =CBA_9$$

When a positive integer N is written in base 7, it is a three digit number.

When N is written in base 9, it is a three digit number that consists of the same digits but in reverse order.

Find all such decimal numbers N. Give the sum of all of these numbers in base 10.

×