Q: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 9451, 'n', 1791, 'y', 'x', 7241, 367, 771, 107, 'L', 'H', 5737, 'E', 'F', 's', 2131, 'g', 7315, 9911, 'h', '7801', '8641', 'K', 'O', '7909', '1687', 'n', 'a', '5973', '6603', '353', '3295', 'v', 'T', 'Z', 'S', 'G', 'M', '6435', 'S', 1283, 2207], ['b', 3123, 'D', 33, 5599, 'e', 'h', 'z', 583, 'I', 'h', '7801', '8641', 'K', 'O', '7909', '1687', 'n', 'a', '5973', '6603', '353', '3295', 'v', 'T', 'Z', 'S', 'G', 'M', '6435', 'K', 'y', 8791, 'A', 'e', 2643, 'r', 2055, 'b', 'A', 7999, 'L', 3489, 2747, 'u', 'C', 1955, 4855]
A:
h, 7801, 8641, K, O, 7909, 1687, n, a, 5973, 6603, 353, 3295, v, T, Z, S, G, M, 6435