Multiattack. The ape makes two fist attacks.
Fist. Melee Weapon Attack: +4 to hit, reach 5 ft., one target. Hit: 6 1d6+3 bludgeoning damage.
Rock. Ranged Weapon Attack: +4 to hit, range 25/50 ft., one target. Hit: 6 1d6+3 bludgeoning damage.