find the value of the following prims​