input abc[.o*o.]def left abcLEFT.o*o.]def all ALLALLALLALLALLALLALLALLALLALLALLALLALL dot abc[DOTo*oDOT]def star abc[.oSTARo.]def right abc[.o*o.RIGHTdef