Filling Bases

Find the missing base numbers.

_____7 = 823543,  _____6 = 1771561,   _____5 = 371293

(Source: Adapted from Mathematics Teaching in the Middle School, May 1994)