Economic resilience: A two-country analysis