spoj#RECTANGLE. Honest Rectangle

Honest Rectangle

Pat and Avery are secretive people. They're honest, but not too honest. They don't say more than they have to.

When they are together, their friend Kendall says she is thinking of a rectangle with integer dimensions w and h, such that L ≤ w ≤ h ≤ U. She says she will give Pat the perimeter and Avery the area. She then privately gives the perimeter to Pat and the area to Avery.

They then have the following honest conversation.

Avery: I don't know what w and h are.
Pat: I knew that.
Avery: Now I know what they are.
Pat: I now know too.

In additional to being honest, both Pat and Avery are very smart. They use all the information they have available.

What are the possible values for w and h?

Input Format

Input is two lines. The first line is the integer L, and the second line is the integer U.

Constraints

 

1 ≤ L ≤ U ≤ 1000

 

Output Format

Ouput the possible values for w and h. Use one line for each pair, and separate the numbers in pair by a single space.

Sort by w and then by h.

It may be that there are no possibilties. (In that case, Kendall must've made a mistake.)

Sample Input 0

1
15

Sample Output 0

1 4
3 4

Sample Input 1

2
865

Sample Output 1

4 13