The Moldovan mobile phone company Mokia has built a new customer location system. Like other location systems it answers a query of the form "Where is customer C?" with millimeter precision, and it also answers a query of the form "How many customers are inside a given rectangular area?".
The system treats the world as a square of size W×W that is divided into cells of size 1×1. A cell is named by a pair of indices (x,y) with 1≤x,y≤W. Indexing starts at 1, so a table of size 4×4 has 1≤x≤4 and 1≤y≤4.

Write a program that reports how many customers are inside a given rectangular area.
Each instruction is on its own line and consists of one instruction integer followed by its parameters.
| Instruction | Parameters | Meaning |
|---|---|---|
| 0 | W | Create a table of size W×W whose cells are all 0. This instruction is given once, as the first instruction. |
| 1 | x y A | Add A to the number of customers in cell (x,y). A is a positive integer. |
| 2 | X1 Y1 X2 Y2 | Ask for the total number of customers in the cells (x,y) with X1≤x≤X2 and Y1≤y≤Y2. |
| 3 | none | Stop the program. This instruction is given once, as the last instruction. |
A query counts only the add instructions that come before it in the input. Print nothing for a line whose instruction is not 2.
For every instruction 2, print the requested number of customers on its own line, in the order the queries are given.