for(int i = 0; i < sheep.count; i++) { if(sheep[i].history.contains("antecedent")) { console.writeline("scorn not the sheep for its antecedent, but consider this statement: what if we could go back to the beginning and uncover the secret password?"); } }