import java.util.*;

public class ReportRepair
{
    public static final int TOTAL_TO_FIND = 2020;
    public static final String DATA_FILE = "input.txt";

    public static void main (String[] args)
    {
        int number = TOTAL_TO_FIND;
        boolean verify = false;
        boolean debug = false;

        for (int i = 0; i < args.length; i++)
        {
            if ("-help".equals(args[i]))
            {
                System.out.println("Usage: [-verify] [-total <number>] [-help]");
                System.exit(0);
            }

            if ("-total".equals(args[i]))
            {
                try
                {
                    number = Integer.parseInt(args[i+1]);
                }
                catch (Exception ex)
                {
                    System.err.println("Error parsing: "+args[i+1]);
                    System.exit(0);
                }
            }

            if ("-debug".equals(args[i]))
                debug = true;

            if ("-verify".equals(args[i]))
                verify = true;
        }

        if (verify)
        {
            Verifier v = new Verifier(TOTAL_TO_FIND, debug);
            
            if (v.verify())
                System.out.println("Verified ok.");
            else
                System.out.println("Verify failed.");

            System.exit(0);
        }

        Vector<Integer> values = Util.readValues(DATA_FILE);
        Total finder = new Total(values, debug);
    }
}
@@ -1461,19 +1461,362 @@
 es, debug);%0A
+        Integer%5B%5D figures = finder.sum(TOTAL_TO_FIND);%0A%0A        if (figures != null)%0A        %7B%0A            System.out.println(%22Entries are: %22+figures%5B0%5D+%22 and %22+figures%5B1%5D);%0A%0A            System.out.println(%22Multiplied together: %22+(figures%5B0%5D * figures%5B1%5D));%0A        %7D%0A        else%0A            System.out.println(%22No suitable entries found!%22);%0A
     %7D%0A%7D

Update ReportRepair.java