Two smooth balls of mass m1 and m2 connected by a light inextensible string are at the oopposite points of horizontal diameter of a smooth semi cylindrical surface of radius R.