solve 200 points program of SRM 419.