In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1259, 'A', 'R', 8745, 'r', 9733, 'K', 'c', 7695, 6177, 993, 'D', 9811, 'P', '3415', 'c', '1293', '4103', 'z', 'P', 'Z', 'x', '2721', '8555', '6541', '3231', '4505', 'n', '7679', '847', 'q', 3953, 'F', 9853, 'E', 657, 8819, 'H', 2329, 'J', 4409, 4889, 's'], ['R', 'L', 'Z', 'g', 5543, 'E', 7801, 'P', '3415', 'c', '1293', '4103', 'z', 'P', 'Z', 'x', '2721', '8555', '6541', '3231', '4505', 'n', '7679', '847', 'd', 'V', 'X', 7005]