Valmiki Ramayana Sundara Kanda Sarga 2 Shloka 55
Original Shlokaअचिन्त्यामद्भुताकारां दृष्टवा लङ्कां महाकपिः। आसीद्विषण्णो हृष्टश्च वैदेह्या दर्शनोत्सुकः।।5.2.55।।
1 source checked for this shloka
महाकपिः great vanara, अचिन्त्याम् unimaginable, अद्भुताकाराम् wonderful, लङ्काम् Lanka, दृष्ट्वा after seeing, वैदेह्याः Vaidehi's, दर्शनोत्सुकः eager to see, विषण्णः sad, हृष्टश्च and glad, आसीत् became.
Beholding Lanka of unimaginable, wonderful glory, the great monkey keen to see Sita became sad as well as elated at once (He did not know how to find Sita in that city and felt sad. But he was also elated that he was going to meet her at any cost.)