Enter g
Enter f
Yield 0
Yield 1
Yield 2
Exit f
f returned spam
Exit g
