This is n times the expected value of y. Now, what is the expected value of y? Well, this is pretty straightforward. We can actually just do it directly. The expected value of y, let me just write it over here. The expected value of y is just the probability weighted outcomes, and since there's only two discrete outcomes here, it's pretty easy to calculate. We have a probability of p of getting a one, so it's p times one, plus we have a probability of one minus p of getting a zero.