Show a numeric value inside a string value in display text value mapping

Hello,
I am trying to create a value map from a range (condition) that will output a numeric value (display text)

I have set 2 range condition
1 to 2
and
3 to 99999

Now what I want instead of typing each value one by one, a simple function to show N as display text, If value is 37, instead of creating a new condition for 37 specifically, just use the “3 to 999999” condition
so it shows Hostname (37)