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;
const int N = 1e5 + 5;
int n, m, q, fst[N], to[N << 1], nxt[N << 1], order[N << 1], tote, tott, dfn,
    st[N], tin[N], tout[N], pa[N], h[N], sub[N], Min[N << 1][18], Log[N << 1],
    head[N], pos[N], sz[N];
long long bit[N];
vector<int> chicks[N];
template <class T>
inline void RD(T &a) {
  register int ch = getchar();
  bool ng = 0;
  for (; ch < '0' || ch > '9'; ch = getchar())
    if (ch == '-') ng = 1;
  for (a = 0; ch >= '0' && ch <= '9'; ch = getchar())
    a = (a << 1) + (a << 3) + (ch ^ '0');
  if (ng) a = ~a + 1;
}
template <class T>
inline void WT(T a) {
  if (a < 0)
    putchar('-'), WT(~a + 1);
  else {
    if (a > 9) WT(a / 10);
    putchar(a % 10 ^ '0');
  }
}
inline void upd(int p, int x) {
  for (; p <= n; p += p & (-p)) bit[p] += x;
}
inline long long getS(int p) {
  long long res = 0;
  for (; p; p -= p & (-p)) res += bit[p];
  return res;
}
struct node {
  int pos;
  long long minVal;
  node() {}
  node(int pos, long long minVal) : pos(pos), minVal(minVal) {}
  bool operator<(const node &o) const {
    if (minVal != o.minVal) return minVal < o.minVal;
    return pos < o.pos;
  }
};
struct MinTree {
  vector<node> seg;
  vector<long long> lazy, extra;
  vector<int> toV;
  MinTree() {}
  MinTree(int SZ) {
    seg.resize((SZ << 2) + 1), lazy.resize((SZ << 2) + 1);
    toV.resize(SZ + 1), extra.resize(SZ + 1);
  }
  inline void push(int id, int L, int R) {
    if (L > R || !lazy[id]) return;
    if (L != R) {
      lazy[id << 1] += lazy[id];
      lazy[id << 1 | 1] += lazy[id];
    }
    seg[id].minVal += lazy[id];
    if (L == R) extra[L] += lazy[id];
    lazy[id] = 0;
  }
  inline void build(int id, int L, int R) {
    if (L > R) return;
    if (L == R) {
      seg[id].pos = toV[L], lazy[id] = extra[L] = 0;
      if (chicks[toV[L]].empty())
        seg[id] = node(1e9, 1e15);
      else
        seg[id].minVal = chicks[toV[L]].back();
      return;
    }
    build(id << 1, L, ((L + R) >> 1)),
        build(id << 1 | 1, ((L + R) >> 1) + 1, R);
    seg[id] = min(seg[id << 1], seg[id << 1 | 1]);
  }
  inline void del(const int &p, int id, int L, int R) {
    push(id, L, R);
    if (L > R || p < L || p > R) return;
    if (L == R) {
      chicks[toV[L]].pop_back();
      if (chicks[toV[L]].empty())
        seg[id] = node(1e9, 1e15);
      else
        seg[id].minVal = chicks[toV[L]].back() + extra[L];
      return;
    }
    del(p, id << 1, L, ((L + R) >> 1)),
        del(p, id << 1 | 1, ((L + R) >> 1) + 1, R);
    seg[id] = min(seg[id << 1], seg[id << 1 | 1]);
  }
  inline void incR(const int &u, const int &v, const int &c, int id, int L,
                   int R) {
    push(id, L, R);
    if (L > R || u > R || v < L) return;
    if (u <= L && R <= v) {
      lazy[id] += c, push(id, L, R);
      return;
    }
    incR(u, v, c, id << 1, L, ((L + R) >> 1)),
        incR(u, v, c, id << 1 | 1, ((L + R) >> 1) + 1, R);
    seg[id] = min(seg[id << 1], seg[id << 1 | 1]);
  }
  inline node getR(const int &u, const int &v, int id, int L, int R) {
    push(id, L, R);
    if (L > R || u > R || v < L) return node(1e9, 1e15);
    if (u <= L && R <= v) return seg[id];
    return min(getR(u, v, id << 1, L, ((L + R) >> 1)),
               getR(u, v, id << 1 | 1, ((L + R) >> 1) + 1, R));
  }
} tree[N];
inline void addE(int u, int v) {
  nxt[++tote] = fst[u], fst[u] = tote, to[tote] = v;
}
inline void dfs(int u) {
  order[++tott] = u, st[u] = tott, sub[u] = 1;
  tin[u] = ++dfn;
  for (int i = fst[u]; i; i = nxt[i])
    if (to[i] != pa[u]) {
      pa[to[i]] = u, h[to[i]] = h[u] + 1, dfs(to[i]);
      sub[u] += sub[to[i]];
      order[++tott] = u;
    }
  tout[u] = dfn;
}
inline int getMin(int u, int v) { return h[u] < h[v] ? u : v; }
void DP() {
  Log[1] = 0;
  for (int i(2), b_(tott); i <= b_; ++i) Log[i] = Log[i >> 1] + 1;
  for (int i(1), b_(tott); i <= b_; ++i) Min[i][0] = order[i];
  for (int j(1), b_(Log[tott]); j <= b_; ++j)
    for (int i(1), b_(tott - (1 << j) + 1); i <= b_; ++i)
      Min[i][j] = getMin(Min[i][j - 1], Min[i + (1 << (j - 1))][j - 1]);
}
inline int lca(int u, int v) {
  if (st[u] > st[v]) swap(u, v);
  int k = Log[st[v] - st[u] + 1];
  return getMin(Min[st[u]][k], Min[st[v] - (1 << k) + 1][k]);
}
inline void hld(int u) {
  int id = 0;
  for (int i = fst[u]; i; i = nxt[i])
    if (to[i] != pa[u]) {
      if (sub[to[i]] > sub[id] || !id) id = to[i];
    }
  if (id) {
    head[id] = head[u], pos[id] = pos[u] + 1;
    ++sz[head[u]];
    hld(id);
  }
  for (int i = fst[u]; i; i = nxt[i])
    if (to[i] != pa[u]) {
      if (to[i] == id) continue;
      head[to[i]] = to[i], pos[to[i]] = sz[to[i]] = 1;
      hld(to[i]);
    }
}
inline node subPath(int u, int a) {
  node res(1e9, 1e15);
  while (head[u] != head[a]) {
    node G = tree[head[u]].getR(1, pos[u], 1, 1, sz[head[u]]);
    res = min(res, node(G.pos, G.minVal + getS(tin[head[u]])));
    u = pa[head[u]];
  }
  node G = tree[head[a]].getR(pos[a], pos[u], 1, 1, sz[head[a]]);
  res = min(res, node(G.pos, G.minVal + getS(tin[head[a]])));
  return res;
}
void init() {
  RD(n), RD(m), RD(q);
  for (int i(1), b_(n - 1); i <= b_; ++i) {
    int u, v;
    RD(u), RD(v);
    addE(u, v), addE(v, u);
  }
  for (int i(1), b_(m); i <= b_; ++i) {
    int x;
    RD(x);
    chicks[x].emplace_back(i);
  }
  for (int i(1), b_(n); i <= b_; ++i)
    reverse(chicks[i].begin(), chicks[i].end());
  head[1] = pos[1] = sz[1] = 1;
  dfs(1), DP(), hld(1);
  for (int i(1), b_(n); i <= b_; ++i)
    if (head[i] == i) {
      tree[i] = MinTree(sz[i]);
    }
  for (int i(1), b_(n); i <= b_; ++i) tree[head[i]].toV[pos[i]] = i;
  for (int i(1), b_(n); i <= b_; ++i)
    if (head[i] == i) {
      tree[i].build(1, 1, sz[i]);
    }
}
void process() {
  while (q--) {
    int t;
    RD(t);
    if (t == 1) {
      int u, v, k;
      RD(u), RD(v), RD(k);
      vector<int> ans;
      while (k--) {
        int anc = lca(u, v);
        node G = min(subPath(u, anc), subPath(v, anc));
        if (G.minVal >= 1e15) break;
        ans.emplace_back(chicks[G.pos].back());
        tree[head[G.pos]].del(pos[G.pos], 1, 1, sz[head[G.pos]]);
      }
      WT((int)ans.size()), putchar(' ');
      for (int g : ans) WT(g), putchar(' ');
      puts("");
    } else {
      int v, k;
      RD(v), RD(k);
      if (head[v] != v)
        tree[head[v]].incR(pos[v], sz[head[v]], k, 1, 1, sz[head[v]]);
      upd(tin[v], k), upd(tout[v] + 1, -k);
    }
  }
}
int main() {
  init();
  process();
  return 0;
}