-1
I found one problem of calculating the ranges of random integers.
for example:
for the input of 7,1
the range should be (1,1) and (7,7)
input 1,7,2 ---> output (1,2) (7,7)
input 1,7,2,3 ---> output (1,3) (7,7)
input 1,7,2,3,4 ---> output (1,4)(7,7)
input 1,7,2,3,4,9 ---> output (1,4)(7,7)(9,9)
...