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;
long long counter, n, m, q, ai, bi, ci, di, special;
long long CONST = 1000000000000000;
vector<vector<long long> > girls[100005], rmqs[100005];
vector<long long> adds[100005];
vector<long long> euler_rmq;
vector<long long> hhh = {CONST, CONST, CONST};
vector<vector<long long> > data, ways;
long long asks[100005][4];
long long ec[100005];
vector<long long> num_ways, counts, lengths, coords, lefts, rights, euler;
void fc(long long i, long long l, long long r, long long l1, long long r1,
        long long cc, long long ch) {
  if (l1 >= r1) {
    return;
  }
  if (l1 == l && r1 == r) {
    rmqs[cc][i][0] += ch;
    adds[cc][i] += ch;
    return;
  }
  long long m = (l + r) / 2;
  fc(2 * i + 1, l, m, l1, min(r1, m), cc, ch);
  fc(2 * i + 2, m, r, max(l1, m), r1, cc, ch);
  rmqs[cc][i] = min(rmqs[cc][2 * i + 1], rmqs[cc][2 * i + 2]);
  rmqs[cc][i][0] += adds[cc][i];
}
void change_euler(long long i, long long l, long long r, long long l1,
                  long long r1, long long dd) {
  if (l1 >= r1) return;
  if (l == l1 && r == r1)
    euler_rmq[i] += dd;
  else {
    long long m = (l + r) / 2;
    change_euler(2 * i + 1, l, m, l1, min(r1, m), dd);
    change_euler(2 * i + 2, m, r, max(l1, m), r1, dd);
  }
}
long long get_euler(long long i, long long l, long long r, long long ind) {
  if (r - l == 1) return euler_rmq[i];
  long long m = (l + r) / 2;
  if (ind < m) return euler_rmq[i] + get_euler(2 * i + 1, l, m, ind);
  return euler_rmq[i] + get_euler(2 * i + 2, m, r, ind);
}
vector<long long> get_answer(long long i, long long l, long long r,
                             long long l1, long long r1, long long cc,
                             long long adp) {
  if (l1 >= r1) {
    return hhh;
  }
  if (l1 == l && r == r1) {
    vector<long long> ans = rmqs[cc][i];
    ans[0] += adp;
    return ans;
  }
  long long m = (l + r) / 2;
  vector<long long> a1 =
      get_answer(2 * i + 1, l, m, l1, min(r1, m), cc, adp + adds[cc][i]);
  vector<long long> a2 =
      get_answer(2 * i + 2, m, r, max(l1, m), r1, cc, adp + adds[cc][i]);
  return min(a1, a2);
}
vector<long long> get_girl(long long v1, long long v2) {
  vector<long long> girl = hhh;
  while (num_ways[v1] != num_ways[v2]) {
    long long sz = ways[num_ways[v1]].size() - 1;
    vector<long long> gn =
        get_answer(0, 0, sz, coords[v1], sz, num_ways[v1], 0);
    gn[0] += get_euler(0, 0, counter, ec[num_ways[v1]]);
    girl = min(girl, gn);
    v1 = ways[num_ways[v1]].back();
  }
  if (v1 == v2 && v1 == 0) return girl;
  long long sz = ways[num_ways[v1]].size() - 1;
  vector<long long> gn =
      get_answer(0, 0, sz, coords[v1], coords[v2] + 1, num_ways[v1], 0);
  gn[0] += get_euler(0, 0, counter, ec[num_ways[v1]]);
  girl = min(girl, gn);
  return girl;
}
void change(long long i, long long l, long long r, long long ind, long long d,
            long long cc, long long vv, long long girl) {
  if (r - l == 1) {
    rmqs[cc][i][0] = d + adds[cc][i];
    rmqs[cc][i][1] = vv;
    rmqs[cc][i][2] = girl;
    return;
  }
  long long m = (l + r) / 2;
  if (ind < m) {
    change(2 * i + 1, l, m, ind, d, cc, vv, girl);
  } else {
    change(2 * i + 2, m, r, ind, d, cc, vv, girl);
  }
  rmqs[cc][i] = min(rmqs[cc][2 * i + 1], rmqs[cc][2 * i + 2]);
  rmqs[cc][i][0] += adds[cc][i];
}
void euler_dfs(long long vertex, long long last) {
  lefts[vertex] = euler.size();
  for (long long i = 0; i < data[vertex].size(); i++) {
    long long to = data[vertex][i];
    if (to == last) continue;
    euler_dfs(to, vertex);
  }
  rights[vertex] = euler.size();
  if (vertex == 0) return;
  long long ww = num_ways[vertex];
  long long sz = ways[ww].size() - 2;
  if (ways[ww][sz] == vertex && num_ways[0] != ww) {
    ec[ww] = euler.size();
    euler.push_back(ww);
  }
}
long long dfs(long long vertex, long long last) {
  bool heavy = false;
  long long now_way;
  for (long long i = 0; i < data[vertex].size(); i++) {
    long long to = data[vertex][i];
    if (last == to) continue;
    long long nw = dfs(to, vertex);
    if (counts[to] * 2 >= counts[vertex] && vertex != 0) {
      heavy = true;
      now_way = nw;
      coords[vertex] = ways[nw].size();
      num_ways[vertex] = nw;
    }
    ways[nw].push_back(vertex);
  }
  if (!heavy) {
    vector<long long> help;
    help.push_back(vertex);
    ways.push_back(help);
    num_ways[vertex] = counter;
    coords[vertex] = 0;
    counter++;
    return counter - 1;
  }
  return now_way;
}
long long count_dfs(long long vertex, long long last, long long d) {
  long long now_count = 0;
  lengths[vertex] = d;
  for (long long i = 0; i < data[vertex].size(); i++) {
    long long to = data[vertex][i];
    if (to == last) continue;
    now_count += count_dfs(to, vertex, d + 1);
  }
  counts[vertex] = now_count + 1;
  return counts[vertex];
}
long long get_lca(long long f, long long s) {
  if (num_ways[f] == num_ways[s]) {
    if (lengths[f] < lengths[s]) return f;
    return s;
  }
  long long k1 = ways[num_ways[f]].back();
  long long k2 = ways[num_ways[s]].back();
  if (k1 == k2) return k1;
  if (lengths[k1] >= lengths[k2]) {
    return get_lca(k1, s);
  }
  return get_lca(f, k2);
}
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin >> n >> m >> q;
  for (long long i = 0; i < n; i++) {
    vector<long long> help;
    data.push_back(help);
    lengths.push_back(-1);
    counts.push_back(-1);
    num_ways.push_back(-1);
    coords.push_back(-1);
    lefts.push_back(-1);
    rights.push_back(-1);
  }
  for (long long i = 0; i < n - 1; i++) {
    cin >> ai >> bi;
    data[ai - 1].push_back(bi - 1);
    data[bi - 1].push_back(ai - 1);
  }
  for (long long i = 0; i < m; i++) {
    cin >> ai;
    vector<long long> gg;
    gg.push_back(i + 1);
    gg.push_back(ai - 1);
    gg.push_back(i + 1);
    girls[ai - 1].push_back(gg);
  }
  for (long long i = 0; i < q; i++) {
    cin >> ai;
    asks[i][0] = ai;
    if (ai == 1) {
      cin >> bi >> ci >> di;
      asks[i][1] = bi - 1;
      asks[i][2] = ci - 1;
      asks[i][3] = di;
    } else {
      cin >> bi >> ci;
      asks[i][1] = bi - 1;
      asks[i][2] = ci;
    }
  }
  counter = 0;
  count_dfs(0, -1, 0);
  dfs(0, -1);
  for (long long i = 0; i < 4 * counter; i++) {
    euler_rmq.push_back(0);
  }
  for (long long i = 0; i < counter; i++) {
    vector<vector<long long> > rmq;
    vector<long long> add;
    for (long long j = 0; j < 4 * (ways[i].size() - 1); j++) {
      vector<long long> g;
      g = hhh;
      rmq.push_back(g);
      add.push_back(0);
    }
    adds[i] = add;
    rmqs[i] = rmq;
  }
  long long special = 0;
  for (long long i = 1; i < n; i++) {
    if (girls[i].size() > 0) {
      sort(girls[i].begin(), girls[i].end(), greater<vector<long long> >());
      long long num = num_ways[i];
      long long sz = ways[num].size() - 1;
      long long count_now = girls[i].back()[0];
      long long girl_num = girls[i].back()[2];
      change(0, 0, sz, coords[i], count_now, num, i, girl_num);
    }
  }
  euler_dfs(0, -1);
  ec[num_ways[0]] = euler.size();
  euler.push_back(num_ways[0]);
  if (girls[0].size() > 0) {
    sort(girls[0].begin(), girls[0].end(), greater<vector<long long> >());
  }
  for (long long i = 0; i < q; i++) {
    if (asks[i][0] == 1) {
      long long vv = asks[i][1];
      long long uu = asks[i][2];
      long long kk = asks[i][3];
      vector<long long> answer;
      for (long long j = 0; j < kk; j++) {
        vector<long long> g1;
        long long lca = get_lca(vv, uu);
        g1 = get_girl(vv, lca);
        vector<long long> g2 = get_girl(uu, lca);
        if (g1 > g2) swap(g1, g2);
        if (lca == 0) {
          if (girls[0].size() > 0) {
            vector<long long> gg = girls[0].back();
            gg[0] += special;
            g1 = min(g1, gg);
          }
        }
        if (g1[0] >= CONST) break;
        answer.push_back(g1[2]);
        long long num = g1[1];
        long long wn = num_ways[num];
        long long sz = ways[wn].size() - 1;
        girls[num].pop_back();
        long long mm = CONST;
        long long mmm = CONST;
        if (girls[num].size() > 0) {
          mm = girls[num].back()[0];
          mmm = girls[num].back()[2];
        }
        if (num != 0) {
          change(0, 0, sz, coords[num], mm, wn, num, mmm);
        }
      }
      cout << answer.size() << " ";
      for (long long j = 0; j < answer.size(); j++) {
        cout << answer[j] << " ";
      }
      cout << endl;
    } else {
      long long vv = asks[i][1];
      long long ch = asks[i][2];
      change_euler(0, 0, counter, lefts[vv], rights[vv], ch);
      if (vv == 0)
        special += ch;
      else {
        long long num = num_ways[vv];
        long long sz = ways[num].size() - 1;
        fc(0, 0, sz, 0, coords[vv] + 1, num, ch);
      }
    }
  }
  return 0;
}