The line about the father (third line) must match the conditions. although output looks correct to me.