That's what I thought at first, but D was basically B + C together meaning it always had (input * 2) - 1 for the number of lines. For example if the input was 5 the number of lines would be 9. If it was 6 number of lines would be 11. But for E number of lines needs to equal the input. And I cant just do numlines = (input/2) for a number of reasons.