When I am rounded to the nearest ten I am 40 the sum of my digits is 8 what two numbers can I be

35 44