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

Q: [1875, 'T', 'Y', '5527', 'F', 'y', '5669', 'm', 'k', 2655, 8089], [3997, 7707, 9937, 'M', '5527', 'F', 'y', '5669', 'm', 'a', 'e']

A: 5527, F, y, 5669, m
****
Q: ['B', 'r', 5629, 4409, 7197, 'N', 'x', 'I', '6145', 'i', 'Q', '1033', '2945', 'K', '4931', 'y', 6505, 9149, 'E', 3067, 819], [2523, 'f', 2623, 'I', '6145', 'i', 'Q', '1033', '2945', 'K', '4931', 'a', 5449, 9193, 6325, 'i', 6901, 'E']

A: I, 6145, i, Q, 1033, 2945, K, 4931
****
Q: [1131, 693, 1239, '3935', 'v', '3223', '591', '6227', 'Z', '3571', 'f', '2335', 'J', 'F', 'V', 'p', 'X', '8363', 'X', '9895', '4417', '3237', 'I', 'Z', 3661, 'E', 'G', 6843, 4997, 269, 4011, 'U', 7631, 'D', 'F', 7757, 1961, 'H', 'H', 'Q', 'h', 'K', 'g'], [1395, 9279, 1263, 'S', 'y', '3935', 'v', '3223', '591', '6227', 'Z', '3571', 'f', '2335', 'J', 'F', 'V', 'p', 'X', '8363', 'X', '9895', '4417', '3237', 'I', 'G', 'j', 821, 6667, 'D', 'q', 'e', 2905, 7487, 1381]

A:
3935, v, 3223, 591, 6227, Z, 3571, f, 2335, J, F, V, p, X, 8363, X, 9895, 4417, 3237, I
****