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 long long INF_LL = 1000000000000000000ll;
const int INF_INT = 1000000000;
vector<long long> W[100001];
int ccc = 0;
struct MinSegTree {
  int M;
  int H;
  vector<long long> EW;
  vector<pair<long long, int>> BW;
  int S;
  MinSegTree(vector<int> G) {
    S = G.size();
    M = 4;
    H = 2;
    while (M < G.size()) {
      M *= 2;
      H++;
    }
    EW.resize(2 * M, 0);
    BW.resize(2 * M, {INF_LL, INF_INT});
    for (int i = 0; i < G.size(); i++) {
      if (!W[G[i]].empty()) {
        BW[M + i] = {W[G[i]].back(), G[i]};
      } else
        BW[M + i] = {INF_LL, G[i]};
    }
    for (int i = M - 1; i > 0; i--) {
      BW[i] = min(BW[2 * i], BW[2 * i + 1]);
    }
  }
  void remove(int ind) {
    ind += M;
    int jid = BW[ind].second;
    W[jid].pop_back();
    if (!W[jid].empty()) {
      BW[ind].first = W[jid].back() + EW[ind];
    } else
      BW[ind].first = INF_LL;
    for (ind /= 2; ind > 0; ind /= 2) {
      BW[ind] = min(BW[2 * ind], BW[2 * ind + 1]);
      BW[ind].first += EW[ind];
    }
  }
  void addWeight(int l, int r, long long w) {
    l += M;
    r += M;
    int l0 = l;
    int r0 = r;
    while (l != r) {
      if (l % 2) {
        EW[l] += w;
        BW[l].first += w;
        l++;
      }
      if (r % 2) {
        r--;
        EW[r] += w;
        BW[r].first += w;
      }
      l /= 2;
      r /= 2;
    }
    r0--;
    r0 /= 2;
    l0 /= 2;
    while (r0 > 0) {
      BW[r0] = min(BW[2 * r0], BW[2 * r0 + 1]);
      BW[r0].first += EW[r0];
      BW[l0] = min(BW[2 * l0], BW[2 * l0 + 1]);
      BW[l0].first += EW[l0];
      r0 /= 2;
      l0 /= 2;
    }
  }
  void pull(int p) {
    for (int h = H; h > 0; h--) {
      int pp = p >> h;
      EW[2 * pp] += EW[pp];
      EW[2 * pp + 1] += EW[pp];
      BW[2 * pp].first += EW[pp];
      BW[2 * pp + 1].first += EW[pp];
      EW[pp] = 0;
    }
  }
  pair<long long, int> best(int l, int r) {
    l += M;
    r += M;
    pull(l);
    pull(r - 1);
    pair<long long, int> res = {INF_LL, INF_INT};
    while (l != r) {
      if (l % 2) res = min(res, BW[l++]);
      if (r % 2) res = min(res, BW[--r]);
      l /= 2;
      r /= 2;
    }
    return res;
  }
  void debug() {
    cerr << "State of st size " << S << ":\n";
    for (int i = 1; i < M + S; i++) {
      cerr << i << ": " << BW[i].first << " " << BW[i].second << "(+" << EW[i]
           << ")" << endl;
    }
  }
};
struct SumSegTree {
  int S;
  int M;
  vector<long long> V;
  SumSegTree(int s) {
    S = s;
    M = 1;
    while (S > M) M *= 2;
    V.resize(2 * M, 0);
  }
  void inc(int l, int r, long long w) {
    l += M;
    r += M;
    while (l != r) {
      if (l % 2) V[l++] += w;
      if (r % 2) V[--r] += w;
      l /= 2;
      r /= 2;
    }
  }
  long long q(int p) {
    p += M;
    long long res = 0;
    while (p > 0) {
      res += V[p];
      p /= 2;
    }
    return res;
  }
};
int N, M, Q;
int P[100001][18];
int D[100001];
int S[100001];
vector<int> G[100001];
vector<int> CH[100001];
int MCH[100001];
vector<vector<int>> HLDC;
vector<MinSegTree> HLDST;
int C[100001];
int CP[100001];
int CF[100001];
int CL[100001];
SumSegTree chainExtra(100000);
void dfs1(int p) {
  D[p] = D[P[p][0]] + 1;
  S[p] = 1;
  for (int ch : G[p]) {
    if (ch == P[p][0]) continue;
    P[ch][0] = p;
    dfs1(ch);
    S[p] += S[ch];
    if (S[ch] > S[MCH[p]]) MCH[p] = ch;
    CH[p].push_back(ch);
  }
}
void build_lca() {
  for (int i = 1; i < 18; i++) {
    for (int n = 1; n <= N; n++) {
      P[n][i] = P[P[n][i - 1]][i - 1];
    }
  }
}
int p(int n, int h) {
  for (int i = 0; h > 0; i++, h /= 2) {
    if (h % 2) n = P[n][i];
  }
  return n;
}
int lca(int a, int b) {
  if (D[a] > D[b]) swap(a, b);
  b = p(b, D[b] - D[a]);
  if (a == b) return a;
  for (int i = 17; i >= 0; i--) {
    if (P[a][i] != P[b][i]) {
      a = P[a][i];
      b = P[b][i];
    }
  }
  return P[a][0];
}
void newchain(int p) {
  HLDC.push_back(vector<int>());
  vector<int>& v = HLDC.back();
  v.push_back(p);
  int i = 0;
  C[p] = HLDC.size() - 1;
  CP[p] = i++;
  while (MCH[p] != 0) {
    p = MCH[p];
    v.push_back(p);
    C[p] = HLDC.size() - 1;
    CP[p] = i++;
  }
  HLDST.push_back(MinSegTree(v));
}
void dfs_hld(int p) {
  CF[p] = HLDC.size();
  if (C[p] == -1) newchain(p);
  for (int ch : CH[p]) dfs_hld(ch);
  CL[p] = HLDC.size();
}
void q_extraweight(int p, long long w) {
  chainExtra.inc(CF[p], CL[p], w);
  if (CP[p] != 0) {
    HLDST[C[p]].addWeight(CP[p], HLDST[C[p]].S, w);
  }
}
pair<long long, int> bestOn(int low, int high) {
  pair<long long, int> best = {INF_LL, INF_INT};
  while (C[low] != C[high]) {
    pair<long long, int> cand = HLDST[C[low]].best(0, CP[low] + 1);
    cand.first += chainExtra.q(C[low]);
    best = min(best, cand);
    low = P[HLDC[C[low]][0]][0];
  }
  MinSegTree& st = HLDST[C[low]];
  pair<long long, int> cand = st.best(CP[high], CP[low] + 1);
  cand.first += chainExtra.q(C[low]);
  best = min(best, cand);
  return best;
}
int q_girls_old(int u, int v) {
  int ca = lca(u, v);
  if (v == ca)
    v = 0;
  else if (u == ca) {
    u = v;
    v = 0;
  }
  pair<long long, int> a = bestOn(u, ca);
  pair<long long, int> b = {INF_LL, INF_INT};
  if (v) b = bestOn(v, ca);
  if (a < b) {
    if (a.first == INF_LL) return -1;
    int r = W[a.second].back();
    HLDST[C[a.second]].remove(CP[a.second]);
    return r;
  } else {
    if (b.first == INF_LL) return -1;
    int r = W[b.second].back();
    HLDST[C[b.second]].remove(CP[b.second]);
    return r;
  }
}
int wtfc = 0;
void q_girls(int u, int v, int k) {
  vector<int> res;
  for (int i = 0; i < k; i++) {
    int x = q_girls_old(u, v);
    if (x == -1) break;
    res.push_back(x);
  }
  cout << res.size() << " ";
  for (int g : res) cout << g << " ";
  cout << endl;
}
int main() {
  ios::sync_with_stdio(false);
  cin >> N >> M >> Q;
  for (int i = 1; i < N; i++) {
    int a, b;
    cin >> a >> b;
    G[a].push_back(b);
    G[b].push_back(a);
  }
  for (int i = 1; i <= M; i++) {
    int j;
    cin >> j;
    W[j].push_back(i);
  }
  vector<int> test;
  for (int i = 1; i <= N; i++) {
    for (int j = 0; j < W[i].size() / 2; j++)
      swap(W[i][j], W[i][W[i].size() - 1 - j]);
    C[i] = -1;
  }
  dfs1(1);
  build_lca();
  dfs_hld(1);
  for (int q = 0; q < Q; q++) {
    int t;
    cin >> t;
    if (t == 1) {
      int v, u, k;
      cin >> v >> u >> k;
      q_girls(v, u, k);
    } else {
      int v, w;
      cin >> v >> w;
      q_extraweight(v, w);
    }
  }
}