Since this number has 6 digits after doing that means this number is more than 100 bcoz cube of 100 contains6 zeros.
secondly last digit is 2 that mean we have a no. whose cube contains 2 at last digit as our last digit of cube root. and that no is 8.
now cube of 150 is 3375000 and thus our ans will be more than 150.
so calculate cube of 158 first and we don't get 4741632 and then calculate cube of 168 and we get ans 4741632.
Thus answer is 168.