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

[Q]: ['Y', 'l', 6297, 9773, '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'T', 'O', 2961, 6077, 'L', 5737, 99, 2363, 'A', 'I', 'E', 5649, 4127, 'm', 3085], ['g', 8141, 'Y', 7433, 1501, 2423, 'P', 8359, 8589, 7265, 265, 'N', 'J', 8251, 'f', '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'K', 9051, 'Q', 'M']
[A]: 6077, B, x, C, 7371, 5635, 9551, 8421, 6587, Y, L, i, 1275, J, s, C, 10005, x, 9473, I


[Q]: [7975, 4703, 'c', '8363', '1673', 'U', 'w', 6977], [3235, 'G', 'c', '8363', '1673', 'N', 'p']
[A]: c, 8363, 1673


[Q]: ['x', 9669, 7411, 'p', '1393', 'I', '9013', 'g', 'V', 'e'], ['R', 8567, 2001, 'p', '1393', 'I', '9013', 'p', 'd']
[A]:
p, 1393, I, 9013