#Q200. 「一本通 6.2 练习 1」质因数分解

「一本通 6.2 练习 1」质因数分解

Description

Original source: NOIP 2012 Popularization Group

Given a positive integer nn which is the product of two distinct prime numbers, determine the larger of the two primes.

Input Format

The input consists of a single line containing a positive integer nn.

Output Format

The output should be a single line containing a positive integer pp, which is the larger of the two primes.

Sample 1

21

7

Constraints and Hints

For 30%30\% of the data, n1000n\le 1000;
For all data, 6n2×1096\le n\le 2\times 10^9.