Consider we have two inputs main and lookup, how to capture first matching records into 1st output and remaining records into 2nd output ?