plzzz help me! im so dumb i hate maths wit passion!!!

1. dan the detective looked for a number. he found a teo-digit number less than 50. the sum of its digits was 12. their diffrence was 4. what number did Dan find?

some 1 can u tel me how im meant to do this! plzzzzzzzz