int setA = input.nextInt();
int setB = input.nextInt();

What are these 2 lines for? Currently you read the first 2 numbers into these variables and then throw them away.