Two beads A and B of equal mass `m` are connected by a light inextensibe chord. They are constrined to move on a frictionless ring in vertical plane. The blocks are released from rest as shown in figure. The tension in the chord just after the release is
A. `(mg)/(4)`
B. `sqrt(2) mg`
C. `(mg)/(2)`
D. `(mg)/(sqrt(2))`