firemen.foreach(f => { if (f.traininglevel == "pre-inception") { f.skills.add("disavow"); illustrations.foreach(i => i.theme = "rejuvenate"); } else if (f.name.contains("unannounced secret")) { var exploit = f.bio.replace("heroic", "malicious"); console.writeline(exploit); } });