Iranian goats are smart.

[ame="http://www.youtube.com/watch?v=SjLq4zxi0wA"]YouTube - this goat opens the gate بز باهوش آسایشگاه کهریزک[/ame]

This goat at Kahrizak in Tehran can open the gate and let itself out.