From a rectangular piece of paper with a length of 2002mm and a width of 847mm, cut a square with the largest possible side length, if the remaining part is not a square, then cut another piece with the largest possible side length from the remaining piece of paper the square. Repeat the above process continuously, and finally cut the square side length in mm.
从一张长2002毫米，宽847毫米的长方形纸片上，剪下一个边长尽可能大的正方形，如果剩下的部分不是正方形，那么在剩下的纸片上再剪下一个边长尽可能大的正方形．按照上面的过程不断地重复，最后剪得正方形的边长是多少毫米．
<result>77</result>