A landlord agreed to let the tenant sublease an apartment if something goes wrong. Who is responsible?

a) The landlord
b) The tenant
c) The subtenant
d) It depends on the lease agreement