Resilient (Adjective) means (i) (of an object or material) springing back to its original form after being bent, stretched, crushed, etc.; springy. (ii) (of a person or character) quickly recovering from shock or depression; buoyant: physically/mentally resilient. For example, She is very resilient to change. If someone can recover quickly, we say he is resilient. So, the word resilient can be used in the first gap and for the second gap the word rational will not be unfit one