Added solution to NCPC e
fixed solution to NCPC e