Problem: Barney is searching for his dream girl. He lives in NYC. NYC has n junctions numbered from 1 to n and n - 1 roads connecting them. We will consider the NYC as a rooted tree with root being junction 1. m girls live in NYC, i-th of them lives along junction ci and her weight initially equals i pounds.

<image>

Barney consider a girl x to be better than a girl y if and only if: girl x has weight strictly less than girl y or girl x and girl y have equal weights and index of girl x living junction index is strictly less than girl y living junction index, i.e. cx < cy. Thus for any two girls one of them is always better than another one.

For the next q days, one event happens each day. There are two types of events:

  1. Barney goes from junction v to junction u. As a result he picks at most k best girls he still have not invited from junctions on his way and invites them to his house to test if one of them is his dream girl. If there are less than k not invited girls on his path, he invites all of them.
  2. Girls living along junctions in subtree of junction v (including v itself) put on some weight. As result, their weights increase by k pounds. 



Your task is for each event of first type tell Barney the indices of girls he will invite to his home in this event.

Input

The first line of input contains three integers n, m and q (1 ≤ n, m, q ≤ 105) — the number of junctions in NYC, the number of girls living in NYC and the number of events respectively.

The next n - 1 lines describes the roads. Each line contains two integers v and u (1 ≤ v, u ≤ n, v ≠ u) meaning that there is a road connecting junctions v and u .

The next line contains m integers c1, c2, ..., cm (1 ≤ ci ≤ n) — the girl's living junctions.

The next q lines describe the events in chronological order. Each line starts with an integer t (1 ≤ t ≤ 2) — type of the event .

If t = 1 then the line describes event of first type three integers v, u and k (1 ≤ v, u, k ≤ n) follow — the endpoints of Barney's path and the number of girls that he will invite at most.

Otherwise the line describes event of second type and two integers v and k (1 ≤ v ≤ n, 1 ≤ k ≤ 109) follow — the root of the subtree and value by which all the girls' weights in the subtree should increase.

Output

For each event of the first type, print number t and then t integers g1, g2, ..., gt in one line, meaning that in this event Barney will invite t girls whose indices are g1, ..., gt in the order from the best to the worst according to Barney's considerations.

Example

Input

5 7 11
3 5
2 3
4 3
1 4
4 1 4 5 4 1 4
2 4 3
1 2 1 2
1 4 2 1
2 2 10
2 1 10
1 2 4 1
1 2 3 4
2 5 2
2 4 9
1 3 5 2
1 1 2 3


Output

2 2 1 
1 3 
1 5 
0 
1 4 
2 6 7 

Note

For the first sample case:

<image>

Description of events:

  1. Weights of girls in subtree of junction 4 increase by 3. These girls have IDs: 1, 3, 5, 4, 7. 
  2. Barney goes from junction 2 to 1. Girls on his way have IDs 1, 2, 3, 5, 6, 7 with weights 4, 2, 6, 8, 6, 10 respectively. So, he invites girls 2 and 1. 
  3. Barney goes from junction 4 to junction 2. Girls on his way has IDs 3, 5, 7 with weights 6, 8, 10 respectively. So he invites girl 3. 
  4. Weight of girls in subtree of junction 2 increase by 10. There are no not invited girls, so nothing happens. 
  5. Weight of girls in subtree of junction 1 increase by 10. These girls (all girls left) have IDs: 4, 5, 6, 7. 
  6. Barney goes from junction 2 to junction 4. Girls on his way has IDs 5, 7 with weights 18, 20 respectively. So he invites girl 5. 
  7. Barney goes from junction 2 to junction 3. There is no girl on his way. 
  8. Weight of girls in subtree of junction 5 increase by 2. The only girl there is girl with ID 4. 
  9. Weight of girls in subtree of junction 4 increase by 9. These girls have IDs: 4, 6, 7. 
  10. Barney goes from junction 3 to junction 5. Only girl on his way is girl with ID 4. 
  11. Barney goes from junction 1 to junction 2. Girls on his way has IDs 6, 7 with weights 16, 29 respectively. 

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
int nextInt() {
  int res = 0;
  char c = 0;
  while (c < '0' || c > '9') c = getchar();
  for (; c >= '0' && c <= '9'; c = getchar()) res = res * 10 + c - 48;
  return res;
}
const int maxn = 300000 + 123;
int n, m, q;
vector<int> V[maxn];
vector<int> girl[maxn];
int address[maxn];
void ReadData() {
  n = nextInt(), m = nextInt(), q = nextInt();
  for (int i = 2, _b = n; i <= _b; ++i) {
    int u = nextInt(), v = nextInt();
    V[u].push_back(v);
    V[v].push_back(u);
  }
  for (int i = 1, _b = m; i <= _b; ++i) {
    int x = nextInt();
    girl[x].push_back(i);
    address[i] = x;
  }
}
const int lg = 19;
int timer = 0, tin[maxn], tout[maxn], level[maxn], chil[maxn];
int papa[maxn][lg + 3];
inline void dfs(const int u, const int prev) {
  tin[u] = ++timer;
  chil[u] = 1;
  for (int i = 0; i < V[u].size(); i++) {
    int v = V[u][i];
    if (v == prev) continue;
    level[v] = level[u] + 1;
    papa[v][0] = u;
    dfs(v, u);
    chil[u] += chil[v];
  }
  tout[u] = timer;
}
int LCA(int p, int q) {
  if (level[p] > level[q]) swap(p, q);
  int diff = (level[q] - level[p]);
  for (int i = 0; i <= lg; i++)
    if ((diff >> i) & 1) q = papa[q][i];
  if (p != q) {
    for (int i = lg; i >= 0; i--) {
      if (papa[p][i] != papa[q][i]) {
        p = papa[p][i], q = papa[q][i];
      }
    }
    p = papa[p][0];
  }
  return p;
}
void Init() {
  dfs(1, -1);
  for (int i = 1, _b = lg; i <= _b; ++i)
    for (int u = 1, _b = n; u <= _b; ++u)
      papa[u][i] = papa[papa[u][i - 1]][i - 1];
}
int nChain = 1, chainHead[maxn], chainEnd[maxn], belong[maxn];
int fromBase[maxn], toBase[maxn], nBase;
int base[maxn];
int revPos[maxn];
void HLD(const int u, const int prev) {
  if (!chainHead[nChain]) chainHead[nChain] = u;
  chainEnd[nChain] = u;
  belong[u] = nChain;
  fromBase[u] = ++nBase;
  for (int i = 0; i < girl[u].size(); i++) {
    int z = girl[u][i];
    base[nBase] = z;
    revPos[z] = nBase;
    if (i < (int)girl[u].size() - 1) ++nBase;
  }
  toBase[u] = nBase;
  int id = -1;
  for (int i = 0; i < V[u].size(); i++) {
    int v = V[u][i];
    if (v == prev) continue;
    if (id == -1 || chil[v] > chil[id]) id = v;
  }
  if (id == -1) return;
  HLD(id, u);
  for (int i = 0; i < V[u].size(); i++) {
    int v = V[u][i];
    if (v == prev || v == id) continue;
    ++nChain;
    HLD(v, u);
  }
}
void InitHLD() { HLD(1, -1); }
class FenwichTree {
 public:
  long long bit[maxn];
  void inc(int x, long long val) {
    for (; x <= n; x += x & -x) bit[x] += val;
  }
  void update(int l, int r, long long val) {
    inc(l, val);
    inc(r + 1, -val);
  }
  long long get(int x) {
    long long res = 0;
    for (; x > 0; x -= x & -x) res += bit[x];
    return res;
  }
} fwt;
bool comPare(const pair<long long, int> &a, const pair<long long, int> &b) {
  if (a.first == b.first) return address[a.second] < address[b.second];
  return a.first < b.first;
}
const long long INF = 1e18 + 123;
class SegmentTree {
 public:
  int l[maxn * 4], h[maxn * 4];
  pair<long long, int> it[maxn * 4];
  long long lazy[maxn * 4];
  int leaf[maxn];
  void Combine(int x) {
    if (comPare(it[(x << 1)], it[((x << 1) | 1)]))
      it[x] = it[(x << 1)];
    else
      it[x] = it[((x << 1) | 1)];
  }
  void build(const int x, const int L, const int R) {
    l[x] = L, h[x] = R;
    if (L == R) {
      it[x] = make_pair((long long)base[L], base[L]);
      if (!base[L]) it[x].first = INF;
      leaf[L] = x;
    } else {
      int mid = (L + R) >> 1;
      build((x << 1), L, mid);
      build(((x << 1) | 1), mid + 1, R);
      Combine(x);
    }
  }
  void doAdd(const int x, const long long val) {
    if (it[x].first == INF) return;
    it[x].first += val;
    lazy[x] += val;
  }
  void pushDown(const int x) {
    if (lazy[x] != 0) {
      doAdd((x << 1), lazy[x]);
      doAdd(((x << 1) | 1), lazy[x]);
      lazy[x] = 0;
    }
  }
  void add(const int x, const int u, const int v, const long long val) {
    if (l[x] > v || h[x] < u) return;
    if (u <= l[x] && h[x] <= v) return doAdd(x, val);
    pushDown(x);
    add((x << 1), u, v, val);
    add(((x << 1) | 1), u, v, val);
    Combine(x);
  }
  void del(const int x, const int pos) {
    if (l[x] == h[x]) {
      it[x] = make_pair(INF, 0);
      return;
    }
    pushDown(x);
    if (pos <= h[(x << 1)])
      del((x << 1), pos);
    else
      del(((x << 1) | 1), pos);
    Combine(x);
  }
  pair<long long, int> get(const int x, const int u, const int v) {
    if (l[x] > v || h[x] < u) return make_pair(INF, 0);
    if (u <= l[x] && h[x] <= v) return it[x];
    pushDown(x);
    pair<long long, int> L = get((x << 1), u, v), R = get(((x << 1) | 1), u, v);
    if (comPare(L, R)) return L;
    return R;
  }
} tree;
pair<int, int> sta[maxn];
int top = 0;
pair<long long, int> candidate[maxn];
void reFresh(int x) {
  int u = chainHead[x];
  long long val = fwt.get(tin[u]);
  if (val != 0) {
    fwt.update(tin[u], tin[u], -val);
    int v = chainEnd[x];
    tree.add(1, fromBase[u], toBase[v], val);
  }
}
bool isson(const int u, const int v) {
  return tin[u] <= tin[v] && tout[v] <= tout[u];
}
void goUp(int u, int v) {
  if (!u || !v) return;
  if (!isson(v, u)) return;
  int vChain = belong[v];
  while (true) {
    int uChain = belong[u];
    reFresh(uChain);
    if (uChain == vChain) {
      sta[++top] = pair<int, int>(fromBase[v], toBase[u]);
      return;
    }
    int z = chainHead[uChain];
    sta[++top] = pair<int, int>(fromBase[z], toBase[u]);
    u = papa[z][0];
  }
}
int semi(int u, int v) {
  int diff = level[u] - level[v] - 1;
  if (diff < 0) return 0;
  for (int i = 0; i <= lg; i++)
    if ((diff >> i) & 1) u = papa[u][i];
  return u;
}
void Process() {
  Init();
  InitHLD();
  tree.build(1, 1, nBase);
  while (q--) {
    int type = nextInt();
    if (type == 1) {
      int u = nextInt(), v = nextInt(), k = nextInt();
      top = 0;
      int lca = LCA(u, v);
      goUp(u, lca);
      goUp(v, semi(v, lca));
      vector<int> res(0);
      for (int i = 1, _b = top; i <= _b; ++i) {
        candidate[i] = tree.get(1, sta[i].first, sta[i].second);
      }
      while (k--) {
        int id = 0;
        for (int i = 1, _b = top; i <= _b; ++i) {
          if (id == 0 || comPare(candidate[i], candidate[id])) id = i;
        }
        pair<long long, int> cur = candidate[id];
        if (cur.first == INF || id == 0) break;
        res.push_back(cur.second);
        tree.del(1, revPos[cur.second]);
        candidate[id] = tree.get(1, sta[id].first, sta[id].second);
      }
      cout << (int)res.size() << " ";
      for (int i = 0; i < res.size(); i++) cout << res[i] << " ";
      cout << "\n";
    } else {
      int u = nextInt(), val = nextInt();
      tree.add(1, fromBase[u], toBase[chainEnd[belong[u]]], val);
      fwt.update(tin[u] + 1, tout[u], val);
    }
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ReadData();
  Process();
  return 0;
}