-- Input (1,2) x -- Output (2,1) xbc d -- Events abcd