A help desk numbers its tickets ID-00001, ID-00002, and so on: the prefix ID- followed by the number padded with leading zeros to five digits. Numbers with more than five digits are shown in full. Write ticket_id(n) returning that string.
Examples
Input: n = 42
Output: "ID-00042"
Input: n = 123456
Output: "ID-123456"
Constraints
0 <= n <= 10**9
Goals
- Pad a number with leading zeros to a fixed width
- Prefix a formatted number with text