#Q200. 「一本通 6.2 练习 1」质因数分解
「一本通 6.2 练习 1」质因数分解
Description
Original source: NOIP 2012 Popularization Group
Given a positive integer 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 .
Output Format
The output should be a single line containing a positive integer , which is the larger of the two primes.
Sample 1
21
7
Constraints and Hints
For of the data, ;
For all data, .