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

Q: [7449, 1055, 'd', 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'N', 'd', 83, 'a', 'd', 3257, 3697, 'p', 9587, 4343, 8761, 8435, 'q', 909], ['F', 'V', 3405, 6049, 8373, 8397, 9195, 'q', '3157', '6365', 'v', 'b', 'H', 'n', 'B', '4283', 'm', 'c', 'V', 'h', '3207', '3795', 'j', 'l', 'j', 'K', 'k', 'E', 'W', 'U', 'T', 'L', 2711, 'R', 'm']

A: q, 3157, 6365, v, b, H, n, B, 4283, m, c, V, h, 3207, 3795, j, l, j, K, k
****
Q: ['U', 'S', 1413, 'O', 'j', 5221, 6645, 7877, 5445, 'K', 7223, 'u', 'J', 'U', 'Q', 'F', '1723', '639', 's', '4473', 'H', '3351', '7653', '2801', '5123', 'V', '9073', '8733', '7617', '1785', 'j', '7085', '895', 'm', '7831', '5757', '255', 'i', 'n', 9101, 'Q', 6009, 'f', 5025, 5631, 4575, 't', 'u', 8185, 'Z', 1459, 9567, 1549, 9011, 'A', 'k', 'w', 1513, 1063, 8087, 't'], [8547, 'W', 1709, 'c', 'J', 'U', 'Q', 'F', '1723', '639', 's', '4473', 'H', '3351', '7653', '2801', '5123', 'V', '9073', '8733', '7617', '1785', 'j', '7085', '895', 'm', '7831', '5757', '255', 'K', 4041, 6407, 6049, 9859, 4451, 7035, 5861, 323, 3431, 'g', 'X', 'h', 441, 1471, 'I', 343, 1955, 'E', 'K', 7927, 'F', 'S', 'E']

A: J, U, Q, F, 1723, 639, s, 4473, H, 3351, 7653, 2801, 5123, V, 9073, 8733, 7617, 1785, j, 7085, 895, m, 7831, 5757, 255
****
Q: ['R', 'f', 'd', 'B', '2257', '4797', 's', 3717], ['i', 'R', 885, 'B', '2257', '4797', 'm', 6349]

A:
B, 2257, 4797
****