when i am rounded to the nearest 10, I am 40. The sum of my digits is 8. I can be two different numbers. Who am I?

What is 44? What about 35?