I have tried doing it like the last problem. I can't figure out how to pass the conditions