solution of NO. 1001