PROGRAMMING:Piecewise function calculation
Input an integer x, calculate the corresponding function value y and output, the formula is as follows: if x is between the interval [1,5],
Then y = x + 1, if x is between the interval (5,10], then y = x,
If x is in the interval (10100), then y = X-1.
###Input format:
Enter an integer.
###Output format:
Output an integer and wrap it.
###Input sample 1:
```in
three
```
###Output sample 1:
```out
four
```
###Input sample 2:
```in
six
```
###Output sample 2:
```out
six
```
###Input sample 3:
```in
ninety-nine
```
###Output sample 1:
```out
ninety-eight
```
answer:If there is no answer, please comment
Then y = x + 1, if x is between the interval (5,10], then y = x,
If x is in the interval (10100), then y = X-1.
###Input format:
Enter an integer.
###Output format:
Output an integer and wrap it.
###Input sample 1:
```in
three
```
###Output sample 1:
```out
four
```
###Input sample 2:
```in
six
```
###Output sample 2:
```out
six
```
###Input sample 3:
```in
ninety-nine
```
###Output sample 1:
```out
ninety-eight
```
answer:If there is no answer, please comment