tell me the total amount of input that patient 12307 got on the last intensive care unit visit?
select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12307 ) and icustays.outtime is not null order by icustays.intime desc limit 1 )