We have the number 4, 5, 7, 8 and 9.
we can fix higher value at the first number.
9_ _ _ _
Since we can repeat the second number is also 9.
99 _ _ _
Similary third, forth and fifth number is also 9.
99999
However, since there is no limit on the repetition of digits, the largest number that can be formed will be 99999 because it has highest value digit at all the place values.