Barton's Pendulum

When pendulum X oscillates, the other pendulums are forced to oscillate. Pendulum D will oscillates with the largest amplitude.
Pendulum X and D have equal length and consequently equal natural frequency. Therefore resonance happens to pendulum D, and it oscillates with maximum amplitude.