Solution - Part - 1