I'm a 5 digit number,
the first and last digits are the same and add up to an even number.
Multiply that number by its self and the number is under 10 and odd.
That will be the fourth number.
Subtract five from it and it will be the second number.
Divide it in half and that is my third number.
What am I?