Where to store coins while I do a factory reset on my computer? My Macbook is having some issues and I have a desktop wallet on it for Bitcoin, Litecoin and Ripple.

I have been told to completely redo my laptop with a factory reset. How can I move or save these coins while I restore my Macbook?
Rutger's response is probably the easiest. Other options would require an understanding of the wallet(s) used. They might have private keys that can be used to allow immediate setup after reinstalling. For example, the Ripple (Rippex) desktop wallet has a secret key that can be used.