Exactly as you have done in the question: 45000
how to write 40000 in numeric values
They are already expressed as numeric numbers.
You have written 17 in numeric numbers in your question.
8 in numeric numbers is VIII.
1995 in "numeric numbers"(?) is 1995. In Roman numerals it would be MCMXCV.