Sum yearly survival probabilities to obtain the complete expectation of life.
输入逐年生存概率序列(逗号或空格分隔),求期望余命。