A pipe open at one end has a fundamental frequency of 256 Hz. A second pipe, identical to the first pipe, is shortened by cutting off a portion of the open end. When both pipes vibrate at their fundamental frequencies, a beat frequency of 12 Hz is heard. Calculate how many centimetres were cut off the end of the second pipe.