S, H and J won $500 from a luck draw.

S received 1/3 as much money as J, If J gives $33 to S, S will have 5/6 as much money as J. How much money did H have at first

S+H+J = 500

J = 3S
S+33 = (5/6)(J-33)

Oddly, I don't get integer solutions. Better check the problem and my setup.