In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [8813, 9875, 'o', 2297, 'S', 4321, 7017, 8149, 'Y', 7317, 'j', 'c', 'G', 7861, 'R', 8915, 5643, 'A', 1685, '7501', 'Y', '3261', 'b', '5789', '9861', '7143', 'x', 'U', '7355', 'J', '4303', 'a', '4687', '8335', '5503', '3769', '8099', '7273', 'n', 'v', 'v', 1301, 3437, 7215, 'K'], [4687, 8535, 'o', 4767, 7107, 'l', 6185, 'c', 'Y', 8107, 8455, 'D', 'Z', '7501', 'Y', '3261', 'b', '5789', '9861', '7143', 'x', 'U', '7355', 'J', '4303', 'a', '4687', '8335', '5503', '3769', '8099', '7273', 'n', 'v', 'y', 'z', 'L', 'D', 8023, 'e', 7803, 'C', 'o', 'w', 's', 'K', 2559, 3605, 'f', 5817, 4375, 2485, 'f', 2351]
A:
7501, Y, 3261, b, 5789, 9861, 7143, x, U, 7355, J, 4303, a, 4687, 8335, 5503, 3769, 8099, 7273, n, v