In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 4895, 'h', 6721, 'W', 8371, 9167, 3811, 3237, 'U', 'x', 'R', 783, 6037, 9769, 6371, 8745, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'c', 'S', 'q', 4381, 7327, 'h', 'A', 'P', 't', 1021, 6667, 'X'], ['v', 'G', 8727, 7711, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'K', 2875, 467, 'x', 'S', 5845, 8137, 33, 'X', 3427, 'C', 9271, 'J']