Cellular Adaptation Relies on Regulatory Proteins Having Episodic Memory