I've tested my work and it seems to work fine but won't validate. The first condition rules it out if it's == The second rules in those whose sums are greater than the part