Why are tension values different on a pulley with two masses?

Two masses (500g and 200s) are connected by a strong over a frictionless pulley. When I calculated the force of tension in the string, I had two slightly different values. Why?