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

Q: [337, 2045, 613, 'P', 89, 10003, 'q', 'b', 'n', 6479, 'Y', 'm', 5259, 'c', 9101, 7599, 6353, 5467, 'O', 'U', 'N', 7841, 'S', 'S', '6141', 'p', '9427', 'U', '1347', 'I', '5193', 'O', 'N', 's', '1617', 'e', '2297', 'X', 'y', 'e', '507', 'R', 'a', 'E', 'q', '4953', '729', 'T', 'w', '7017', '8647', 'N', 'w', 7365, 'W', 981, 245, 8933, 'h', 4477, 1395, 'J', 8069, 5313, 'J', 709, 3533, 'b', 8629, 'G', 'P', 'Y', 5397], [3017, 1679, 'O', 'p', 2983, 9493, 4763, 'P', 'Q', 'd', 139, 'i', 2459, 'G', 'c', 299, 'Q', 'Z', 1841, 'S', 'S', '6141', 'p', '9427', 'U', '1347', 'I', '5193', 'O', 'N', 's', '1617', 'e', '2297', 'X', 'y', 'e', '507', 'R', 'a', 'E', 'q', '4953', '729', 'T', 'w', '7017', '8647', 'q', 'k', 825, 'D', 't', 'j', 'T', 6747, 'q', 7211, 'i', 1557, 'f', 7917, 'R', 1325, 6801, 'T', 'Q', 2305, 's', 'K', 'R', 2877, 'p']

A: S, S, 6141, p, 9427, U, 1347, I, 5193, O, N, s, 1617, e, 2297, X, y, e, 507, R, a, E, q, 4953, 729, T, w, 7017, 8647
****
Q: ['z', 'j', 'G', 'w', 'h', 5009, 'z', 'r', '1279', 'z', '1337', 'R', 'R', 9761, 'D', 713], ['a', 'T', 'A', 'z', 'r', '1279', 'z', '1337', 'R', 'J', 'z', 'L', 'P']

A: z, r, 1279, z, 1337, R
****
Q: ['K', 5557, 3175, 'e', 'A', 'q', 'c', 4149, 247, '2461', '8953', '7153', '9525', 'W', '149', '2777', '291', 'q', 'z', '6711', '5955', 'D', 'k', 7505, 1903, 7999], [7323, 'q', 'C', 8617, 3593, 'D', 'k', 7457, 'm', 5419, 5531, '2461', '8953', '7153', '9525', 'W', '149', '2777', '291', 'q', 'z', '6711', '5955', 'D', 'U', 'F', 6905, 1981, 'S', 'E', 'v']

A:
2461, 8953, 7153, 9525, W, 149, 2777, 291, q, z, 6711, 5955, D
****