BEFORE FUNCTION DEFINITIONS
AFTER FUNCTION DEFINITIONS
ENTER TOM
X= 11 
EXIT TOM
X= 1 
ENTER TOM
X= 12 
EXIT TOM
ENTER JERRY
X= 13 
EXIT JERRY
X= 2 
ENTER JERRY
X= 14 
EXIT JERRY
ENTER TOM
X= 15 
EXIT TOM
ENTER JERRY
X= 16 
EXIT JERRY
X= 3 
ENTER JERRY
X= 17 
EXIT JERRY
ENTER TOM
X= 2 
EXIT TOM
ENTER TOM
X= 18 
EXIT TOM
ENTER JERRY
X= 1 
EXIT JERRY
ENTER JERRY
X= 19 
EXIT JERRY
ENTER TOM
X= 2 
EXIT TOM
X= 1 
ENTER TOM
X= 20 
EXIT TOM
ENTER JERRY
X= 1 
EXIT JERRY
X= 2 
ENTER TOM
X= 21 
EXIT TOM
ENTER TOM
X= 1 
EXIT TOM
ENTER JERRY
X= 22 
EXIT JERRY
ENTER JERRY
X= 2 
EXIT JERRY
ENTER TOM
X= 23 
EXIT TOM
ENTER TOM
X= 1 
EXIT TOM
ENTER JERRY
X= 24 
EXIT JERRY
ENTER JERRY
X= 2 
EXIT JERRY
*** TEST PASSED ***
