13258 - Domo's favorite number   

Description

Domo is a brilliant dog. When he finds his favorite number, he will be happy.

 

Given a range of numbers, the integer that has the most number of factors is Domo's favorite number. If there are two or more numbers that have the most number of factors, the bigger one is his favorite number.

 

Now, given a range of numbers, please find Domo's favorite number or he will use your photos on the next question meme.

Input

Two integers L and R (1 ≤ L ≤ R ≤ 100) separated by a blank.

Output

Domo's favorite number in the given range.

Note that you don't need to print '\n' at the end of the output.

Sample Input  Download

Sample Output  Download

Tags




Discuss