public class LargestPrimeFactorDriver { public static void main(String[] args) { LargestPrimeFactor number = new LargestPrimeFactor(600851475143L); System.out.println( number.getLargestPrimeFactor() ); } }