Valmiki Ramayana Yuddha Kanda Sarga 98 Shloka 10
Original Shlokaततस्तेवानरास्सर्वेराक्षसैरर्दिताभृशम् । दिशोदशद्रुताःकेचित्केचित्सुग्रीवमाश्रिताः ।।6.98.10।।
1 source checked for this shloka
ततः thereafter, सर्वे all, तेवानराः those Vanaras, राक्षसैः Rakshasas, भृशम् pain, अर्दिताःunable to bear, केचित् some, दश ten, दिशः directions, द्रुताःfled, केचित् some, सुग्रीवम् to Sugriva, आश्रिताःfor refuge,
Thereafter, unable to bear the pain, those Vanaras hit by Rakshasas, went in ten directions and some went to Sugriva for refuge.