@Override
    public void run()
    {
        String input;
        StringTokenizer idata;
        int i, j;
        int counter = 0;

        input = Main.ReadLn(255);
        while ((input != null) && !input.equals(""))
        {
            idata = new StringTokenizer(input);
            i = Integer.parseInt(idata.nextToken());
            j = Integer.parseInt(idata.nextToken());

            /* Loop through and run the algorithm on each of the integers between these numbers */
            int maxCycleLength = 0;
            for (int x = i; x <= j; x++)
            {
                /* Get the Max Cycle Length */
                int cl = this.getCycleLength(x);
                if (cl > maxCycleLength)
                {
                    maxCycleLength = cl;
                }
            }
            if (counter != 0)
            {
                System.out.print("\n");
            }
            counter++;
            System.out.print(input.concat(" " + maxCycleLength));
            input = Main.ReadLn(255);
        }
        System.exit(0);
    }