Again: there were 4 countries, total, in the standard YC deal terms. Now there are 3. There are many hundreds of YC companies headquartered overseas.
The standard move in this situation is that you form a US Delaware C Corp and make your HQ a subsidiary.
Delaware vs. Cayman for LatAm startups: https://news.ycombinator.com/item?id=46686745