I know lots of normally functioning adults who cannot afford rent in San Francisco. Many of them have bigger, nicer houses than my apartment - elsewhere than San Francisco.
Genuinely curious, what is the estimated income of your two homeless friends? And do they have any limitations on their salary potential?