#### Smaller Number With All the Same Integers

You are given a non-negative integer N as an argument. Return a lesser valued integer that contains all of the same numbers as N.

### Requirements

- Must return an integer

#### Example #1

```
solve(654)
> 645
```

#### Example #2

```
solve(7310)
> 7301
```