The base ten integer 839 has the representations 1132 and 11324 respectively in base 9 and base 5. Accordingly, 839 has a base 5 representation that begins with its base 9 representation.
For which other base ten integers between 10 and 2014 inclusively do the base 5 representation of the integer begin with its base 9 representation?