Romania has almost twice Hungary's GDP.
Per capita it is about 14k (RO) vs 18k (HU).
⓪ - https://ec.europa.eu/eurostat/web/products-eurostat-news/w/d...
In fact I'm sure the country is even richer if you compare the wealth of the average citizen instead of GDP because not much (goods or services) is actually produced from there. It's more like a place you go to after you've already made your fortune.