Quotas on runs of successes and failures in a multi-state markov chain