Find the Room number.

5

4 votes
Medium
Problem

Anuj is going to his brother's company office ,His brother Ankit  is an intelligence officer so all the information  is hidden about him. Anuj wants to meet to his brother.

Now after authentication of Anuj receptionist gives an integer number and says that find the two nearest prime number of that number and find the product .the last two digit of product is the room number of Ankit .

Help the Anuj to find his brother's Room number.

 

**Input**

input an integer number.

 

**Output**

Room number of Ankit .

 

**Constraints**

0<number<10000

Time Limit: 5
Memory Limit: 256
Source Limit:
Explanation

 

Note ; if there is tie between two near numbers then take smallest one.

          Given  number will not be considered  as prime number.

Editor Image

?