I learned the hard way not to burn all my currency before departing a country. I was dismayed to find myself in the Cusco airport with a cash-only kiosk as the only post-immigration and security option to get food and potable water before my flight. Thankfully a friendly Peruvian border official agreed to hold my passport and allow me to backtrack through exit immigration to the airport money exchange counter and re-clear security with some sols.