The length of a rectangle is three times its width. The perimeter is at most 112 centimeters What is the greatest possible value for the width?