A rectangular paper 200 cm. in length and 27cm. in width ,will be cut into several square pieces until no paper is left,and each cut product a largest possible square piece. When the cut i finished, a total of n square are obtained, and there are m different of patterns of square.