The owner of the pet shop has noticed that more and more pets are becoming lazy. In particular, the pigs do nothing but sleep all day, so half of the problem setter's fee has been deducted. The cats, on the other hand, have gradually learned to do nothing except sing "Hachimi". In order to correct the bad habits in the shop and make sure the pets actually learn something real, the owner decides to open an arithmetic class for them.
One day, the owner arranges $$$n^2$$$ pets into $$$n$$$ rows and $$$n$$$ columns, forming an $$$n\times n$$$ grid. Both rows and columns are numbered $$$1,2,\cdots,n$$$. The owner decides to play a small game to test the pets' arithmetic ability. Each pet keeps an integer, which is initially $$$0$$$. The owner will then issue $$$m$$$ commands in order, of the following four types:
After you solve this problem, the owner would like to remind you that the problems are not arranged in order of difficulty.
The first line contains two integers $$$n,m$$$ ($$$1\le n\le 2025$$$, $$$1\le m\le 10^6$$$).
Each of the next $$$m$$$ lines contains $$$2$$$ or $$$3$$$ integers, describing a single command in one of the formats given above.
In the commands, it is guaranteed that $$$1\le x,y\le n$$$ and $$$-10^9\le k\le 10^9$$$.
For each command of type 4, output one line containing a single integer — the current number of the pet at row $$$x$$$, column $$$y$$$.
3 51 92 3 -14 1 33 3 44 3 3
9 12
2025 104 1394 8211 9982443533 985 1234567892 1024 9876543213 996 9964123454 1024 9961 -10000000001 -10000000002 2025 -19198104 2025 985
0 2982311019 -880218668
In the first example:
| Name |
|---|


