Minnesota residents turn to motels to avoid homelessness