Online Checkbook Balancing