Which organism is able to form organized patterns of behavior through the process of integration because it has ganglia?

grasshopper

shark

mouse

flatworm