Late night algebra