In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[Q]: [3707, 6473, 'o', '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'G', 9269, 5835, 2723, 'm', 'n', 6209], [7513, 4579, 6017, 7723, '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'w', 'T', 'g', 'M', 'V']
[A]: 495, 3897, O, x, 2409, 6843, 3477, 5411


[Q]: ['J', 'A', 7687, 281, 'v', 'P', 'i', 7785, 'J', 'Y', 3523, '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'i', 267, 'p', 4649, 'n', 'H', 'y', 2593, 4947, 3199, 7407, 8623, 'S'], ['T', 9895, 1551, 'O', 5617, 'p', '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'S', 'C', 2099, 6507, 489, 9845, 6641, 2521]
[A]: 355, 7389, Q, 4119, I, r, 6615, 8467, C, 9539, 4047, F, B, 2161, m, W, C, O, 7731, 3331


[Q]: ['j', 3999, 'x', 'J', 'z', 'q', 'w', 'X', 7741, 5603, 9491, 8983, 'u', 'l', 8309, 7433, 'H', 'G', 'q', 'h', 'N', 'w', '6769', 'D', '9631', '3291', 'M', '3535', '9185', 'V', '4497', 'T', 'B', 'e', 'm', 'h', 'v', 'u', 1795, 8501, 's', 8655, 'n'], [2923, 7551, 'e', 3199, 7471, 5985, 'G', 'q', 'h', 'N', 'w', '6769', 'D', '9631', '3291', 'M', '3535', '9185', 'V', '4497', 'T', 'B', 'e', 'm', 'h', 'v', 'i', 'd', 'y', 'y', 'g', 'k', 8301, 'l', 4871, 5933, 7825, 'f', 8425, 6481, 'T']
[A]:
G, q, h, N, w, 6769, D, 9631, 3291, M, 3535, 9185, V, 4497, T, B, e, m, h, v