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 MAXN = 1e5 + 10, MAXLG = 17;
const long long INF = 1e16;
template <class T>
void setmin(T &a, T b) {
  if (b < a) {
    a = b;
  }
}
struct girl {
  long long w;
  int loc, id;
  girl() : w(INF), loc(-1), id(-1) {}
  girl(long long _w, int _loc, int _id) : w(_w), loc(_loc), id(_id) {}
};
bool operator<(girl g1, girl g2) {
  return (g1.w < g2.w || (g1.w == g2.w && g1.id < g2.id));
}
girl &operator+=(girl &g, long long a) {
  g.w += a;
  return g;
}
girl operator+(girl g, long long a) { return g += a; }
int N, M, Q;
vector<girl> vgirl[MAXN];
vector<int> adj[MAXN];
int par[MAXN][MAXLG], depth[MAXN], sub[MAXN];
int dfs1(int x, int p, int d) {
  par[x][0] = p;
  for (int i = 1; i < MAXLG; i++) {
    par[x][i] = par[par[x][i - 1]][i - 1];
  }
  depth[x] = d;
  for (int t : adj[x]) {
    if (t != p) {
      sub[x] += dfs1(t, x, d + 1);
    }
  }
  return ++sub[x];
}
int getpar(int x, int d) {
  for (int i = 0; d; d /= 2, i++) {
    if (d & 1) {
      x = par[x][i];
    }
  }
  return x;
}
int lca(int x, int y) {
  if (depth[x] > depth[y]) {
    swap(x, y);
  }
  y = getpar(y, depth[y] - depth[x]);
  if (x == y) {
    return x;
  }
  for (int k = MAXLG - 1; k >= 0; k--) {
    if (par[x][k] != par[y][k]) {
      x = par[x][k];
      y = par[y][k];
    }
  }
  return par[x][0];
}
struct chain {
  int id;
  vector<int> nodes;
  vector<long long> bit;
  vector<girl> seg;
  vector<long long> lazy;
  int size;
  long long subtr;
  void init() {
    size = nodes.size();
    bit.resize(size + 2);
    for (seg.resize(1); seg.size() <= 2 * size;) {
      seg.resize(seg.size() * 2);
    }
    lazy.resize(seg.size());
    fill((seg).begin(), (seg).end(), girl());
  }
  void update_bit(int x, long long v) {
    for (x++; x < bit.size(); x += (x & -x)) {
      bit[x] += v;
    }
  }
  long long query_bit(int x) {
    long long s = 0;
    for (x++; x; x &= x - 1) {
      s += bit[x];
    }
    return s;
  }
  void put(int cur, long long v) {
    if (cur >= seg.size()) {
      return;
    }
    seg[cur] += v;
    lazy[cur] += v;
  }
  void down(int cur) {
    if (cur < seg.size() && lazy[cur]) {
      put(2 * cur, lazy[cur]);
      put(2 * cur + 1, lazy[cur]);
      lazy[cur] = 0;
    }
  }
  void merge_seg_node(int x) {
    if (x < seg.size() / 2) {
      seg[x] = min(seg[2 * x], seg[2 * x + 1]);
    }
  }
  void downto(int x) {
    if (x == 0) {
      return;
    }
    downto(x / 2);
    down(x);
    merge_seg_node(x);
  }
  void init_girl(int x, girl g) {
    downto(x += seg.size() / 2);
    for (seg[x] = g; x /= 2;) {
      merge_seg_node(x);
    }
  }
  void update_seg(int a, int b, long long v, int cur, int lt, int rt) {
    if (rt <= a || b <= lt) {
      return;
    }
    if (a <= lt && rt <= b) {
      put(cur, v);
      return;
    }
    down(cur);
    int mid = (lt + rt) / 2;
    update_seg(a, b, v, 2 * cur, lt, mid);
    update_seg(a, b, v, 2 * cur + 1, mid, rt);
    merge_seg_node(cur);
  }
  void update_seg(int a, int b, long long v) {
    update_seg(a, b, v, 1, 0, seg.size() / 2);
  }
  girl query_seg(int a, int b, int cur, int lt, int rt) {
    if (rt <= a || b <= lt) {
      return girl();
    }
    if (a <= lt && rt <= b) {
      return seg[cur];
    }
    down(cur);
    int mid = (lt + rt) / 2;
    return min(query_seg(a, b, 2 * cur, lt, mid),
               query_seg(a, b, 2 * cur + 1, mid, rt));
  }
  girl query_seg(int a, int b) { return query_seg(a, b, 1, 0, seg.size() / 2); }
};
int C;
chain ch[MAXN];
int bel[MAXN], pos[MAXN];
chain &getch(int x) { return ch[bel[x]]; }
int cnpar(int c) { return par[ch[c].nodes[0]][0]; }
void dfs2(int x, int chid) {
  bel[x] = chid;
  pos[x] = ch[chid].nodes.size();
  ch[chid].nodes.push_back(x);
  for (int t : adj[x]) {
    if (t == par[x][0]) {
      continue;
    }
    if (sub[t] * 2 >= sub[x]) {
      dfs2(t, chid);
    } else {
      dfs2(t, ++C);
    }
  }
}
void ginit(int x, girl g) { getch(x).init_girl(pos[x], g); }
long long sum_update(int c) {
  long long sum = 0;
  while (true) {
    c = cnpar(c);
    if (c == 0) {
      break;
    }
    sum += ch[bel[c]].query_bit(pos[c]);
    c = bel[c];
  }
  return sum;
}
void update_from(int c) {
  long long sum = sum_update(c);
  while (true) {
    if (sum == 0) {
      break;
    }
    ch[c].update_seg(0, ch[c].size, sum - ch[c].subtr);
    ch[c].subtr = sum;
    c = cnpar(c);
    sum -= ch[bel[c]].query_bit(pos[c]);
    c = bel[c];
  }
}
girl query_path(int x, int p) {
  girl res;
  while (true) {
    chain &cx = getch(x);
    if (bel[x] == bel[p]) {
      setmin(res, cx.query_seg(pos[p], pos[x] + 1));
      break;
    } else {
      setmin(res, cx.query_seg(0, pos[x] + 1));
      x = par[cx.nodes[0]][0];
    }
  }
  return res;
}
int main() {
  scanf("%d %d %d", &N, &M, &Q);
  for (int i = 1; i < N; i++) {
    int a, b;
    scanf("%d %d", &a, &b);
    adj[a].push_back(b);
    adj[b].push_back(a);
  }
  dfs1(1, 0, 0);
  dfs2(1, ++C);
  for (int i = 1; i <= C; i++) {
    ch[i].id = i;
    ch[i].init();
  }
  for (int i = 1; i <= M; i++) {
    int x;
    scanf("%d", &x);
    girl g(i, x, i);
    getch(x).init_girl(pos[x], g);
    vgirl[x].push_back(g);
  }
  for (int i = 1; i <= N; i++) {
    sort((vgirl[i]).begin(), (vgirl[i]).end());
    reverse((vgirl[i]).begin(), (vgirl[i]).end());
    ginit(i, (vgirl[i].empty() ? girl() : vgirl[i].back()));
  }
  int qt, x, y, k;
  long long w;
  for (int qi = 1; qi <= Q; qi++) {
    scanf("%d %d", &qt, &x);
    if (qt == 2) {
      scanf("%lld", &w);
      chain &cx = getch(x);
      cx.update_bit(pos[x], w);
      cx.update_seg(pos[x], cx.size, w);
    } else {
      scanf("%d %d", &y, &k);
      update_from(bel[x]);
      update_from(bel[y]);
      vector<int> ans;
      int c = lca(x, y);
      for (int ki = 0; ki < k; ki++) {
        girl g = min(query_path(x, c), query_path(y, c));
        if (g.w >= INF) {
          break;
        }
        ans.push_back(g.id);
        int loc = g.loc;
        vgirl[loc].pop_back();
        if (vgirl[loc].empty()) {
          ginit(loc, girl());
        } else {
          long long s = getch(loc).query_bit(pos[loc]) + sum_update(bel[loc]);
          ginit(loc, vgirl[loc].back() + s);
        }
      }
      printf("%lu ", ans.size());
      for (int g : ans) {
        printf("%d ", g);
      }
      puts("");
    }
  }
}