Valmiki Ramayana Ayodhya Kanda Sarga 112 Shloka 17
Original Shlokaअमात्यैश्च सुहृद्भिश्च बुद्धिमद्भिश्च मन्त्रिभिः। सर्वकार्याणि सम्मन्त्र्य सुमहन्त्यपि कारय।।2.112.17।।
1 source checked for this shloka
अमात्यैश्च with ministers, सुहृद्भिश्च with friends, बुद्धिमद्भि: with the prudent, मन्त्रिभिश्च with the counsellors, सम्मन्त्र्य consulting, सुमहन्त्यपि however great they might appear, सर्वकार्याणि all endeavours, कारय you may get them done.
After due consultation with ministers, friends, counsellors and prudent persons, accomplish all tasks, however formidable they may appear.