In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5561, 4419, 'G', 'g', 37, 9315, 6451, 'u', 'Y', 2715, 'b', 'Y', 'h', 1167, 'c', 9943, 'a', 'S', 'H', 'D', 'L', 'A', 'd', '6003', 'e', '1471', '3987', '4895', '997', '6303', '5979', '5655', '2309', '4029', '5913', '9245', 'S', '6399', 'U', 'b', 6911], ['y', 'T', 'J', 1615, 9949, 9637, 8801, 'D', 'L', 'A', 'd', '6003', 'e', '1471', '3987', '4895', '997', '6303', '5979', '5655', '2309', '4029', '5913', '9245', 'S', '6399', 'Y', 'a', 1697, 6041, 'K', 8085, 'u', 3235, 'x', 'M', 3417, 'r', 'N']