Can you find the largest six digit number whose sum is 43 and whose square is less than 5,00,000?

707

Square of 707 = 70499849
4+9+9+8+4+9 = 43