Define a "hook" to be a figure made up of six unit squares as shown below in the picture, or any of the figures obtained by applying rotations and reflections to this figure.

Determine all m×nm \times n rectangles that can be covered without gaps and without overlaps with hooks such that

figure