Sums of Random Variables and Long-Term Averages