Only humans seem to be able to do the latter.
chimpanzees solve the (mistitled) monkey and bananas problem, using tools like old crates to gain altitude in order to obtain objects that are otherwise out of reach (Köhler 1925) (Figure 1(a)).