Who's a brainy boy then? African grey parrots not only learn to talk, but outperform human two-year-olds in a test of intelligent reasoning.
No other animals apart from great apes match the birds' ability to understand noise-related causal connections, say scientists.
Human children only do as well as the parrots from about the age of three.
Researchers tested six African greys housed in a parrot rescue centre in Vienna, Austria. During a series of experiments, the birds were asked to choose between two closed boxes, one of which held a piece of walnut and rattled when shaken. The other, empty container, could be shaken without making a noise.
The parrots showed they knew how to detect hidden food rattling in a shaken box. But much more impressively they also worked out - almost instantly - that if a box was shaken and made no noise, the food must be in the other container.
Choices were made by a parrot walking over to a box and turning it over with its beak. In similar tests, most animals - and even small children - get confused about the way shaking and noise relate to the presence or absence of a hidden reward.
The scientists, led by Dr Christian Schloegl, from the University of Vienna, wrote in the journal Proceedings of the Royal Society B: Biological Sciences: "We found compelling evidence for the ability of African grey parrots to use noise created during the shaking of containers to detect hidden food.
"Even from the very first trial, our subjects could also use the absence of noise in a shaken container to infer that food must be in the other, non-shaken container. Such behaviour has so far been shown only in the great apes, but not in any other non-human animal."
It was "remarkable" that the African grey parrots, which were not used to taking part in studies, were able to out-perform highly experienced monkeys, the scientists wrote.
An odd result from the experiment was that the parrots appeared sensitive to side-to-side but not up-and-down shaking. The researchers speculated that vertical shaking may have distracted the birds by reminding them of head-bobbing, a common parrot behaviour.