Daf Yomi Arcade · Bekhorot 59 · בכורות נ״ט
To tithe his flock, the owner drives his lambs into a pen and lets them out one at a time under the rod. Every tenth is sacred. But what if the pen has two doors, and the lambs don't all reach ten at the same one? Rava answers with one rule: מִנְיָן הָרָאוּי פּוֹטֵר, a tally that is fit to reach ten exempts (59b:6). If you were counted at a moment when enough lambs were left to make ten at your door, you're free, even if the ten never came.
Rava gives three ways fourteen lambs can split between the doors, and for each, two endings (59b:12–15). The setup has already happened. Read the ending, call the fate of each group, then let them out.
Now you drive the lambs. Pick a flock, send lambs through a door one at a time, let a lamb die if the case calls for it, and end the gathering when you're done. Each lamb is judged the moment it passes: its door's count plus the lambs still in the pen. If that reaches ten, it's fit and exempt.
The pen runs Rava's rule as one mechanical test. The Gemara rules on the cases in the goals; if you find some new way to split a flock, that's this game's reading, not a ruling.
Counting out loud is easy to get wrong. The daf weighs what happens when the shepherd calls the ninth lamb "tenth!" (59a:3–59b:5). Rava holds that a real tenth left standing in the pen is holy on its own, even though it never walked out (59a:2). Stamp each lamb on the tape.
Rabbi Shimon ben Yehuda, in the name of Rabbi Shimon, says a ninth lamb called "tenth" stays ordinary unless the real tenth was called "ninth." His logic (59b:1–2): the eleventh, called "tenth," becomes a peace offering only if the tenth's name was taken off it. So surely the ninth, which only waits for a blemish, needs that too. The Gemara gives two ways the ninth and the eleventh differ. Pick both.