{"raw_statement":[{"iden":"statement","content":"Every April, the city is always shrouded under cumulonimbus clouds.\n\nThis city is connected by $n$ buildings and $m$ two-way streets. In order to facilitate people's travel, any two buildings can directly or indirectly reach each other through the streets. At the same time, no street connects the same building, and there is at most one street that connects each pair of buildings.\n\nThe pace of life in this city is very slow because the city layout is not very bulky.\n\nSpecifically,if we consider this city as an undirected graph $G$ ,it is guaranteed that for any non empty subgraph in this graph,there is at least one building inside it that connects up to 10 streets within the subgraph.\n\nThe rain is not stopping, and the number of cumulonimbus clouds is constantly increasing. At the beginning, there are $a_i$ cumulonimbus clouds above the $i$ -th building, but in the following $q$ days, one of the following two events will occur every day:\n\n- $\\text{1 x v}$ $v$ cumulonimbus clouds have been added over the $x$ -th building.\n- $\\text{2 x}$ you need to report how many cumulonimbus clouds are in total over all buildings directly connected to building $x$."},{"iden":"input","content":"The first line contains three integers $n,m,q(1\\le n\\le 3\\times 10^5,1\\leq m\\leq 3\\times 10^6, 1\\leq q\\leq 2\\times 10^6)$.\n\nEach of the next $m$ lines contains two integers $x,y(1\\leq x,y\\leq n,x\\neq y)$, which represents a street connecting the $x$ -th and $y$ -th buildings.\n\nEach of the next $n$ lines contains an integer $a_i(0\\leq a_i\\leq 100)$.\n\nEach of the next $q$ lines contains two or three integers, if the first integer is $1$, it represents a first type of event, and the next two integers represent $x,v(0\\leq v\\leq 100)$. If the first integer is $2$, it represents a second type of event, the next integer represents $x$."},{"iden":"output","content":"Several rows, each representing a query result for a second type of event."}],"translated_statement":null,"sample_group":[["4 6 10\n2 4\n2 3\n4 3\n3 1\n4 1\n2 1\n0\n7\n1\n6\n2 4\n2 2\n1 3 3\n2 1\n1 1 9\n2 4\n2 2\n1 3 6\n2 4\n2 2","8\n7\n17\n20\n19\n26\n25"]],"show_order":[],"formal_statement":null,"simple_statement":null,"has_page_source":false}