R.s.agarwal solution