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

Q: ['J', 6791, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'i', 'n', 'R', 9199, 455, 'i'], [4051, 8463, 'i', 6667, 'N', 'k', 'X', 2629, 'I', 'O', 5057, 1059, 4265, 'B', 3819, 'c', 9941, 'R', 'a', 5545, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'a', 9953, 6229, 'F', 2985]

A: x, f, n, 5565, 4103, q, n, h, 625, 2981, 3243, q, 2705, 5505, s, 4423, j, 9819, 3841, Z
****
Q: ['z', 883, 9795, 4785, 'R', 927, 6697, 'Y', 'a', 'V', 'r', 'x', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'a', 'o', 'O', 'o', 'o', 'k', 5419], ['L', 4127, 'J', 5701, 'u', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'g', 'e', 'G', 'U', 4361, 'z', 3019, 'l', 6969, 'z', 1821, 8135, 4831, 4315, 'F', 6801, 185]

A: D, 4987, p, O, w, g, U, 3989, 8321, 9091, 3263, 2091, 2505, 1055, 5617, 2913, 9717, 4691, e
****
Q: ['e', 5523, 3717, 'G', 6331, 'n', 1215, 2967, 'y', 'H', 2389, 1923, 'I', 'z', 'g', 'c', 'H', 5801, 's', 'g', 4773, 'j', 'o', 7387, '7951', '753', '1747', 'c', '787', '7343', 'O', 'o', 'x', '8087', '4657', '969', 'U', '1795', 'z', '1257', 'D', '1393', 'x', 'C', 'n', 'O', 'S', '6365', 'M', 'T', 's', 'O', 'o', 9311, 'v', 543, 8241, 5807, 4505, 8273, 427, 1785, 'D', 665, 'f'], [8127, 4725, 'I', 'J', 'G', 5257, 5971, 5973, 2371, 'J', 'C', 1183, 6019, 3037, '7951', '753', '1747', 'c', '787', '7343', 'O', 'o', 'x', '8087', '4657', '969', 'U', '1795', 'z', '1257', 'D', '1393', 'x', 'C', 'n', 'O', 'S', '6365', 'x', 2687, 'y']

A:
7951, 753, 1747, c, 787, 7343, O, o, x, 8087, 4657, 969, U, 1795, z, 1257, D, 1393, x, C, n, O, S, 6365
****