public override void PartTwo(IInput input, IOutput output) { var rooms = input.Parse(); var targetRoom = rooms .Where(r => r.IsValid) .First(r => Decrypter.DecryptRoomName(r).Contains("Pole", StringComparison.OrdinalIgnoreCase)); output.WriteProperty("Target Room Name", Decrypter.DecryptRoomName(targetRoom)); output.WriteProperty("Target Room Sector Id", targetRoom.SectorId); }