B in Senior Year Class

Throughout high school, I’ve maintained a perfect 4.0 GPA. However, this senior semester I’m pretty sure I’m gonna get hit with a fat B in my literature class, given that my teacher is a super hard grader and english wasn’t my strong suit in the first place. How much will this actually affect my Early Decision and Regular Decisions for Ivy-caliber schools?