Problem 3: Largest prime factor

FCC link

The prime factors of 13195 are 5, 7, 13 and 29.

What is the largest prime factor of the given number?

Test

{{test}}

Console output