$shift(i_1,i_2,i_3,\cdots{},i_k)(i_1 < i_2 < \cdots{} < i_k, k > 1)$

## Input

$1$ $x_1$ $y_1$ $x_2$ $y_2$ $v$ 將子矩陣 $(x_1,y_1,x_2,y_2)$ 中每個元素 $(x,y)$ 遞增 $v$ ($v > 0$)
$2$ $x_1$ $y_1$ $x_2$ $y_2$ $v$ 將子矩陣 $(x_1,y_1,x_2,y_2)$ 中每個元素 $(x,y)$ 設為 $v$
$3$ $x_1$ $y_1$ $x_2$ $y_2$ 輸出子矩陣 $(x_1,y_1,x_2,y_2)$總和最小值最大值

Front              Back
-------------      -------------
|     |     |      |     |     |
|  4  |  1  |      |  2  |  3  |
|     |     |      |     |     |
-------------      -------------


## Sample Input

1
14
4
0


## Sample Output

Printing order for 1 pages:
Sheet 1, front: Blank, 1
Printing order for 14 pages:
Sheet 1, front: Blank, 1
Sheet 1, back : 2, Blank
Sheet 2, front: 14, 3
Sheet 2, back : 4, 13
Sheet 3, front: 12, 5
Sheet 3, back : 6, 11
Sheet 4, front: 10, 7
Sheet 4, back : 8, 9
Printing order for 4 pages:
Sheet 1, front: 4, 1
Sheet 1, back : 2, 3