Adam cut a piece of string into 42 inches long into 2 pieces. The ratio of the lengths of the 2 pieces us 3:4, What is the length, to the nearest inch, of the shorter piece?