We discuss what algorithms are in place for the difficult times in our lives.