---
# System prepended metadata

title: Number Conversions

---

Given a number having ten digits, convert it to a string following the below-mentioned rules.

Rules for conversion:

- Separate the number into a set of four-three-three digits
- Use the following prefixes for successive digits
 - Single numbers: just read them separately.
 - Two Consecutive numbers: `double`
 - Three Consecutive numbers: `triple`
 - Four Consecutive numbers: `quadruple`

---

#### Input

The first line of input is a string of ten digits.

---

#### Output

The output should print the given number in a human-readable format.
Refer to the sample input and output.

---

#### Explanation

In the example, the first test case number is `9887666668` and this number should be divided into `4-3-3` format.
By separating the number in the dividing format the number will be like

| 4 | 3 | 3 |
| ---- | --- | --- |
| 9887 | 666 | 668 |

The first divided part should be read as `nine` for `9`.And `double eight` as there are two consecutive `8`'s after `9`, it 

In the second divided part, there are three consecutive `6`'s, it should be read as `triple six`

In the third divided part should be read as `double six` as there are two consecutive `6`'s and then `8` separately.

So, the total number should be read as `nine double eight seven triple six double six eight`

Here are some more examples,

| Number | Dividing Format | Output |
| ---------- | --------------- | ------------------------------------------------------ |
| 9090407368 | 9090-407-368 | nine zero nine zero four zero seven three six eight |
| 1111222233 | 1111-222-233 | quadruple one triple two two double three |
| 9999999999 | 9999-999-999 | quadruple nine triple nine triple nine |
| 1234567890 | 1234-567-890 | one two three four five six seven eight nine zero |
| 9467925555 | 9467-925-555 | nine four six seven nine two five triple five |
| 7064582309 | 7064-582-309 | seven zero six four five eight two three zero nine |
| 8527834259 | 8527-834-259 | eight five two seven eight three four two five nine |
| 7436874843 | 7436-874-843 | seven four three six eight seven four eight four three |


**Input 1**

9887666668

nine double eight seven triple six double six eight

---

**Input 2**

9090407368

nine zero nine zero four zero seven three six eight