IMO 1987 LL POL51

The function F is a one-to-one transformation of the plane into

IMO 1987 LL POL51

Origin: POL

Problem

The function F is a one-to-one transformation of the plane into itself that maps rectangles into rectangles (rectangles are closed; continu- ity is not assumed). Prove that F maps squares into squares.