How many of the same digits are found in the base 7 and base 8 representations of 62910?
$62910=351261_7=172676_8$