<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def survival(value=t, lam=lam, f=failure):
 """Exponential survival likelihood, accounting for censoring"""

    return sum(f * log(lam) - lam * value)