Working logic of extracting operators and operands-1