One Coke. Two Cokes. Three Cokes. Four . . .

As part of a playful experiment conducted in South Korea, a Coca-Cola vending machine coaxed people to copy the dance moves of the country’s popular boy band 2 PM, in order to score free soft drinks.

Thanks to Microsoft Kinect technology, the machine registers what the dancers do — and the more moves they copy correctly, the more Cokes the machine doles out.

Watch as everyone from teens to toddlers try to keep up with the rapid-fire movements, including some impressive breakdancing.