Australopithecus africanus (southern ape of Africa), lived 3.6 to 2.2 million years ago. It had both legs for walking and long arms for swinging in the trees. So it both lived in the trees and went walking, adapting itself to different immediate environments.