1BEGIN	{ k = 3; n = 10 }
2{	if (n <= 0) exit
3	if (rand() <= k/n) { print; k-- }
4	n--
5}
6