A uniform horizontal bar of length L = 3 m and weight 226 N is pinned to a vertical wall and supported by a thin wire that makes an angle of theta = 20o with the horizontal. A mass M, with a weight of 347 N, can be moved anywhere along the bar. The wire can withstand a maximum tension of 596 N. What is the maximum possible distance from the wall at which mass M can be placed before the wire breaks?