To gain insight on the raccoon and its intelligence view these documentaries,

The Intelligence of the Raccoons

 

Raccoon Backyard Bandit