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

[Q]: ['L', 5499, 'z', 'J', 'I', 't', 6291], [337, 5087, 'z', 'J', 'I', 'p', 'm']
[A]: z, J, I


[Q]: [2087, 'D', 815, 'a', 6837, 'U', 1683, 9549, 'Q', 4313, 2991, 8685, 'Q', 1253, 'O', 9367, 4835, 5191, 'L', 'e', '9385', '2631', '5849', '2469', 'S', 'Y', '967', '2589', '9057', '9315', '9591', '5801', 'B', '5991', 'g', '7317', '4923', 'L', 'B', 'N', '8863', 'v', 'q', '2887', 'f', '9939', 'd', 'i', 'a', 'S', 7967, 'N', 'r'], [8841, 'y', 'F', 1845, 'X', 's', 8663, 'B', 'h', 5885, 'p', 5555, 3051, 2359, 'q', 'm', 2675, 53, 'U', 7017, 8161, 4755, 'B', 5367, 8577, 'H', 4223, 'e', '9385', '2631', '5849', '2469', 'S', 'Y', '967', '2589', '9057', '9315', '9591', '5801', 'B', '5991', 'g', '7317', '4923', 'L', 'B', 'N', '8863', 'v', 'q', '2887', 'f', '9939', 'd', 'Z', 'R', 'X', 'j', 'T', 'N', 'V', 2931, 'X', 'g', 'P', 2979, 'o', 'B', 8283, 'r', 'D', 1051, 'E']
[A]: e, 9385, 2631, 5849, 2469, S, Y, 967, 2589, 9057, 9315, 9591, 5801, B, 5991, g, 7317, 4923, L, B, N, 8863, v, q, 2887, f, 9939, d


[Q]: [9049, 9805, 'S', 2463, 'H', 'J', 'D', '9755', '5235', 'V', 'J', '9369', 'I', 'c', '1325', '4117', 'R', 'I', 'B', 'S', 'c', '7213', '6153', 'G', '2015', 'D', '7753', 'M', 'a', 7597, 'O', 'q', 'L', 3791, 3779], [6023, 7701, 'T', 'F', 'D', '9755', '5235', 'V', 'J', '9369', 'I', 'c', '1325', '4117', 'R', 'I', 'B', 'S', 'c', '7213', '6153', 'G', '2015', 'D', '7753', 'T', 'k', 'E', 3637, 6267, 8973, 4223, 'L', 'D', 2517, 2069, 'n', 'A', 7159, 'D', 's']
[A]:
D, 9755, 5235, V, J, 9369, I, c, 1325, 4117, R, I, B, S, c, 7213, 6153, G, 2015, D, 7753