The three secrets of resilient people