6th problem done