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

Q: [455, 5425, 2307, 'J', 327, 't', 'c', 'b', 6749, 7017, 'W', 'J', '7781', 'g', '7793', '7355', 'V', '5905', '9737', '1183', 'x', '4965', 'h', '7671', 'X', 'x', 'V', '2529', 'r', '2961', '5337', '993', '8789', '6837', 'L', 4491, 'u', 't', 'v', 'P', 'n', 8189, 'C', 'G', 6899, 'L', 9701, 'c', 3957, 7607, 1245, 'M', 'I', 2799], [2217, 'B', 'G', 8865, 'Z', 5559, 'H', 1391, 6963, 'w', 'e', 'f', 9921, 'N', 2189, 'T', 'k', 'n', 6323, 6659, 'm', '7781', 'g', '7793', '7355', 'V', '5905', '9737', '1183', 'x', '4965', 'h', '7671', 'X', 'x', 'V', '2529', 'r', '2961', '5337', '993', '8789', '6837', 'a', 2811, 'K', 'J', 1933, 'X', 'G', 'p', 'X', 'n', 'g', 975, 6475, 'h', 'S']

A: 7781, g, 7793, 7355, V, 5905, 9737, 1183, x, 4965, h, 7671, X, x, V, 2529, r, 2961, 5337, 993, 8789, 6837
****
Q: ['i', 'n', '7509', '7241', 'V', 'k', 205, 'H'], ['s', 4349, 7023, '7509', '7241', 'V', 'O', 't', 9237]

A: 7509, 7241, V
****
Q: ['i', 7635, 'o', 'j', 7991, 5827, 6007, 6675, 'r', '5111', 'Z', '4287', 'l', '603', '5203', '2811', 'd', '9123', 'n', 'b', '5171', 'X', '3249', '4235', 'E', 'h', 'F', 3845, 'X', 6141, 'D', 6405, 507, 7, 'L', 'f', 'm', 9, 4021, 937], [1321, 'n', 'x', 3489, 2419, 'N', 'q', 3285, 6631, 'U', 8757, 'E', 'u', 6509, '5111', 'Z', '4287', 'l', '603', '5203', '2811', 'd', '9123', 'n', 'b', '5171', 'X', '3249', '4235', 'E', 'i', 'E', 's', 6281]

A:
5111, Z, 4287, l, 603, 5203, 2811, d, 9123, n, b, 5171, X, 3249, 4235, E
****