Two infinite uniform rectangular lattice given cell size and x1xy1x2xy2. Lattice are located on planes parallel to each other and coordinate axes so that the displacement of one of the nodes in the second grating with respect to the first node of Dx in the horizontal and vertical Dy. As a result, overlay, a new "composite" grid with smaller cells of different sizes. Want to display in ascending order of all the different areas of cells composite lattice.
In the first row are the numbersx1, y1, x2, y2, Dx, Dy, separated by spaces.
1 ≤ x1, y1, x2, y2 ≤ 100. 0 ≤ Dx < x1, 0 ≤ Dy < y1, все числа целые.
The first line of output N - number of squares resulting in the following N lines - the area themselves.
20 20 12 10 2 0
4 20 60 100 120