Find the total amount of loans provided by bank branches in the state of New York.
select sum(t2.amount) from bank as t1 join loan as t2 on t1.branch_id = t2.branch_id where t1.state = 'New York'