solution - 1