### Instruction:

Extract the cause and effect entities from the following sentence:
By integrating devices with different resources and capabilities, a heterogeneous WSN can combine the advantages of both powerful and weak devices

### Assistant:

CONDITION: powerful
VARIABLE: a heterogeneous WSN
AND: of both
CAUSE_1: integrating devices with different resources
EFFECT_1: powerful
EFFECT_2: weak devices
KEYWORD: By
CAUSE_2: capabilities

