Snake uses trick to avoid poisoning from toxic frogs