how did patient 51577 first enter the hospital until 2104?
select admissions.admission_type from admissions where admissions.subject_id = 51577 and strftime('%y',admissions.admittime) <= '2104' order by admissions.admittime asc limit 1