Largest Prime Factor

Computer Mathematics Medium 2 views
Back to Questions

Problem Description

Print the largest prime factor of n.

Input Format

One integer n.

Output Format

One integer.

Sample Test Case

Input:
84
Output:
7

Constraints

2

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next