I am a 5-digit number.
My ones place is two more than my hundreds place.
My thousands place is half of my tens place.
My ten thousands place is the smallest counting number.
My hundreds place is one more than the smallest prime number.
If my tens place is 4, what number am I?