When a positive integer N is written in base 6 , it is a four digit number such that all its four digits are the same. When N is written in base ten, it is a three digit number such that all its three digits are equal. Find the decimal representations of all such numbers N.

Please help!!!!!!!! desperate!!!! THAANK YOU!!!! :D