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;
inline long long getint() {
  long long _x = 0, _tmp = 1;
  char _tc = getchar();
  while ((_tc < '0' || _tc > '9') && _tc != '-') _tc = getchar();
  if (_tc == '-') _tc = getchar(), _tmp = -1;
  while (_tc >= '0' && _tc <= '9') _x *= 10, _x += (_tc - '0'), _tc = getchar();
  return _x * _tmp;
}
inline long long add(long long _x, long long _y,
                     long long _mod = 1000000007ll) {
  long long _ = _x + _y;
  if (_ >= _mod) _ -= _mod;
  return _;
}
inline long long sub(long long _x, long long _y,
                     long long _mod = 1000000007ll) {
  long long _ = _x - _y;
  if (_ < 0) _ += _mod;
  return _;
}
inline long long mul(long long _x, long long _y,
                     long long _mod = 1000000007ll) {
  long long _ = _x * _y;
  if (_ >= _mod) _ %= _mod;
  return _;
}
long long mypow(long long _a, long long _x, long long _mod) {
  if (_x == 0) return 1ll;
  long long _tmp = mypow(_a, _x / 2, _mod);
  _tmp = mul(_tmp, _tmp, _mod);
  if (_x & 1) _tmp = mul(_tmp, _a, _mod);
  return _tmp;
}
long long mymul(long long _a, long long _x, long long _mod) {
  if (_x == 0) return 0ll;
  long long _tmp = mymul(_a, _x / 2, _mod);
  _tmp = add(_tmp, _tmp, _mod);
  if (_x & 1) _tmp = add(_tmp, _a, _mod);
  return _tmp;
}
inline bool equal(double _x, double _y) {
  return _x > _y - 1e-9 && _x < _y + 1e-9;
}
int __ = 1, _cs;
const int LOG = 19;
struct HLD {
  int n;
  vector<int> g[101010];
  int sz[101010], dep[101010];
  int ts, tid[101010], tdi[101010], tl[101010], tr[101010];
  int mom[101010][LOG], head[101010];
  void dfssz(int u, int p) {
    dep[u] = dep[p] + 1;
    mom[u][0] = p;
    sz[u] = 1;
    head[u] = u;
    for (int& v : g[u])
      if (v != p) {
        dep[v] = dep[u] + 1;
        dfssz(v, u);
        sz[u] += sz[v];
      }
  }
  void dfshl(int u) {
    ts++;
    tid[u] = tl[u] = tr[u] = ts;
    tdi[tid[u]] = u;
    sort((g[u]).begin(), (g[u]).end(),
         [&](int a, int b) { return sz[a] > sz[b]; });
    bool flag = 1;
    for (int& v : g[u])
      if (v != mom[u][0]) {
        if (flag) head[v] = head[u], flag = 0;
        dfshl(v);
        tr[u] = tr[v];
      }
  }
  inline int lca(int a, int b) {
    if (dep[a] > dep[b]) swap(a, b);
    int diff = dep[b] - dep[a];
    for (int k = (LOG - 1); k >= (0); k--)
      if (diff & (1 << k)) {
        b = mom[b][k];
      }
    if (a == b) return a;
    for (int k = (LOG - 1); k >= (0); k--)
      if (mom[a][k] != mom[b][k]) {
        a = mom[a][k];
        b = mom[b][k];
      }
    return mom[a][0];
  }
  void init(int _n) {
    n = _n;
    for (int i = (1); i <= (n); i++) g[i].clear();
  }
  void addEdge(int u, int v) {
    g[u].push_back(v);
    g[v].push_back(u);
  }
  void yutruli() {
    dfssz(1, 0);
    ts = 0;
    dfshl(1);
    for (int k = (1); k <= (LOG - 1); k++)
      for (int i = (1); i <= (n); i++) mom[i][k] = mom[mom[i][k - 1]][k - 1];
  }
  vector<tuple<int, int> > getPath(int u, int v) {
    vector<tuple<int, int> > res;
    while (tid[u] < tid[head[v]]) {
      res.push_back(tuple<int, int>(tid[head[v]], tid[v]));
      v = mom[head[v]][0];
    }
    res.push_back(tuple<int, int>(tid[u], tid[v]));
    reverse((res).begin(), (res).end());
    return res;
  }
} tree;
void build() {}
queue<int> tmp[101010];
long long tag[101010 << 2];
pair<long long, long long> st[101010 << 2];
void build_st(int no, int l, int r) {
  if (l == r) {
    if (tmp[l].empty())
      st[no] = {10000000000000000ll, 10000000000000000ll};
    else
      st[no] = {tmp[l].front(), tree.tdi[l]};
    return;
  }
  build_st((no << 1), l, ((l + r) >> 1));
  build_st((1 + (no << 1)), ((l + r) >> 1) + 1, r);
  st[no] = min(st[(no << 1)], st[(1 + (no << 1))]);
}
inline void push(int no, int l, int r) {
  if (tag[no]) {
    tag[(no << 1)] += tag[no];
    st[(no << 1)].first += tag[no];
    tag[(1 + (no << 1))] += tag[no];
    st[(1 + (no << 1))].first += tag[no];
  }
  tag[no] = 0;
}
pair<long long, long long> query(int no, int l, int r, int ql, int qr) {
  if (r < ql || l > qr || ql > qr)
    return {10000000000000000ll, 10000000000000000ll};
  if (ql <= l && r <= qr) return st[no];
  push(no, l, r);
  return min(query((no << 1), l, ((l + r) >> 1), ql, qr),
             query((1 + (no << 1)), ((l + r) >> 1) + 1, r, ql, qr));
}
void Add(int no, int l, int r, int ql, int qr, long long dlt) {
  if (r < ql || l > qr || ql > qr) return;
  if (ql <= l && r <= qr) {
    tag[no] += dlt;
    st[no].first += dlt;
    return;
  }
  push(no, l, r);
  Add((no << 1), l, ((l + r) >> 1), ql, qr, dlt);
  Add((1 + (no << 1)), ((l + r) >> 1) + 1, r, ql, qr, dlt);
  st[no] = min(st[(no << 1)], st[(1 + (no << 1))]);
}
void Del(int no, int l, int r, int p) {
  if (l == r) {
    assert(!tmp[l].empty());
    tmp[l].pop();
    if (tmp[l].empty())
      st[no] = {10000000000000000ll, 10000000000000000ll};
    else
      st[no] = {tmp[l].front() + tag[no], tree.tdi[l]};
    return;
  }
  push(no, l, r);
  if (p <= ((l + r) >> 1))
    Del((no << 1), l, ((l + r) >> 1), p);
  else
    Del((1 + (no << 1)), ((l + r) >> 1) + 1, r, p);
  st[no] = min(st[(no << 1)], st[(1 + (no << 1))]);
}
int n, m, q;
void init() {
  n = getint();
  m = getint();
  q = getint();
  tree.init(n);
  for (int i = 1; i < n; i++) {
    int u = getint();
    int v = getint();
    tree.addEdge(u, v);
  }
  tree.yutruli();
  for (int i = 1; i <= m; i++) tmp[tree.tid[getint()]].push(i);
  build_st(1, 1, n);
}
void solve() {
  while (q--) {
    int cmd = getint();
    if (cmd == 1) {
      int v = getint();
      int u = getint();
      int k = getint();
      int lca = tree.lca(v, u);
      vector<tuple<int, int> > p1 = tree.getPath(lca, u);
      vector<tuple<int, int> > p2 = tree.getPath(lca, v);
      priority_queue<
          pair<pair<long long, long long>, tuple<int, int> >,
          vector<pair<pair<long long, long long>, tuple<int, int> > >,
          greater<pair<pair<long long, long long>, tuple<int, int> > > >
          heap;
      for (tuple<int, int> tp : p1) {
        pair<long long, long long> xp = query(1, 1, n, get<0>(tp), get<1>(tp));
        if (xp.second != 10000000000000000ll) heap.push({xp, tp});
      }
      for (tuple<int, int> tp : p2) {
        pair<long long, long long> xp = query(1, 1, n, get<0>(tp), get<1>(tp));
        if (xp.second != 10000000000000000ll) heap.push({xp, tp});
      }
      vector<int> ans;
      int got = 0;
      while (heap.size() && got < k) {
        pair<pair<long long, long long>, tuple<int, int> > xp = heap.top();
        heap.pop();
        pair<long long, long long> ap = xp.first;
        tuple<int, int> tp = xp.second;
        pair<long long, long long> cp = query(1, 1, n, get<0>(tp), get<1>(tp));
        if (cp != ap) {
          if (cp.second != 10000000000000000ll) heap.push({cp, tp});
          continue;
        }
        got++;
        ans.push_back(tmp[tree.tid[ap.second]].front());
        Del(1, 1, n, tree.tid[ap.second]);
        ap = query(1, 1, n, get<0>(tp), get<1>(tp));
        if (ap.second != 10000000000000000ll) heap.push({ap, tp});
      }
      if (ans.empty())
        puts("0");
      else {
        printf("%d ", (int)ans.size());
        for (size_t i = 0; i < ans.size(); i++)
          printf("%d%c", ans[i], " \n"[i + 1 == ans.size()]);
      }
    } else {
      int v = getint();
      int k = getint();
      Add(1, 1, n, tree.tl[v], tree.tr[v], k);
    }
  }
}
int main() {
  build();
  while (__--) {
    init();
    solve();
  }
}