{TAIL ~ The sensor} at each station detects {HEAD ~ the arrival} or departure of each customer 
{ TAIL ~ The sensor } at each station detects { HEAD ~ the arrival } or departure of each customer
TAIL TAIL TAIL TAIL TAIL TAIL OTH OTH OTH OTH HEAD HEAD HEAD HEAD HEAD HEAD OTH OTH OTH OTH OTH