They dont manage to get by.
It's the same thing as in New York, just different currency.
Locals inheritted their apartments from parents or granparents, those with good jobs get a mortgage or burn their salaries on rent.
And the rest lives with roommates. Or spends hours ona bus or train to work.
Hence the fertility crisis in Central Europe: people dont want to have kids when they struggle with rent.
In Central Europe there is the saying that prices are western, but salaries are eastern.
Propert also gets bought by foreign investors like in Canada.