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

Q: ['d', 897, 't', 1807, 'k', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'z', 'c'], [2741, 'D', 5443, 'Z', 'k', 129, 3339, 'k', 'T', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'd', 4353]

A: P, 5013, 1811, 9411, U, z, 2793, 3221, 5643, j, 1793, 9507, J, 6147, i, 4383, 723
****
Q: [1249, 4091, 'E', 483, 'O', 8427, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'U', 2857, 's'], ['J', 'B', 8825, 9581, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'E', 'e', 'R', 'X', 1739, 'D', 1385, 'e', 6969]

A: 5009, X, Q, 107, F, 6119, 4479, u, o, U, 4405, 1737, K, j, B
****
Q: ['f', 5325, 'B', 4363, 7009, 5685, 'M', 7919, 7447, 8945, 'p', 3861, 'l', 'B', 'J', 3775, 'P', 'Y', 'c', '7671', 'B', 'd', '5621', 'v', 'l', 's', '5275', '9245', '4981', 'x', '5575', 'F', '3737', '2047', '4675', '4035', 's', 'K', 'w', 'd', '8863', 'i', 'W', '6433', 'T', 'm', 'K', 'P'], ['l', 257, 'y', 6379, 'N', 3345, 8319, 'M', 7887, 7903, 'Y', 9643, 197, 'Y', 'c', '7671', 'B', 'd', '5621', 'v', 'l', 's', '5275', '9245', '4981', 'x', '5575', 'F', '3737', '2047', '4675', '4035', 's', 'K', 'w', 'd', '8863', 'i', 'W', '6433', 'T', 'm', 'Z', 'q', 179, 1011, 'H', 'U', 4783, 2829, 1133, 'h', 9555, 'O', 'L', 511, 5489, 5117, 601, 8141, 'a', 'M', 'P', 3085, 1771, 'N', 'k', 'Z', 4089, 'J', 2009]

A:
Y, c, 7671, B, d, 5621, v, l, s, 5275, 9245, 4981, x, 5575, F, 3737, 2047, 4675, 4035, s, K, w, d, 8863, i, W, 6433, T, m
****