Bob would like to go on a camping trip with some friends, but unfortunately, Bob spent too much time writing problems for DMPG Silver, leaving him with no friends who want to go with him. He asks them for their phone numbers so he can contact them later, but they do not like Bob, and they either did not format their phone numbers or simply left him with fake numbers. Can you help Bob sort out his contacts list?

A valid phone number consists of digits, with the first three digits being the **area code**. Bob formats his phone numbers by putting the area code in brackets, followed by a `-`

, followed by the next three digits of the phone number, followed by another dash, then finally the last four digits. Bob does not know many area codes, and therefore only considers `416`

and `647`

to be valid area codes.

#### Input Specification

The first line will contain an integer . This will be followed by lines, each with a string of no more than digits, representing a possible phone number.

#### Output Specification

Output lines, each line containing the properly formatted phone number, or `not a phone number`

if the phone number is not a valid number.

#### Sample Input

```
4
911
4166666666
64777777777
1234567890
```

#### Sample Output

```
not a phone number
(416)-666-6666
not a phone number
not a phone number
```

## Comments

these friends are snakes if bob didnt sort the numbers he wouldve called the police

This comment is hidden due to too much negative feedback. Click here to view it.

This comment is hidden due to too much negative feedback. Click here to view it.

no, too long