In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7535, 'i', 'J', 5171, 6521, '3591', '8519', 'g', '3487', 'o', '6881', 'V', 'Q', '3863', '2579', '1191', 'c', '3169', '1767', '555', '1963', 'E', 'O', 'g', 'F', 'S', 'N', '4877', 'u', 2511, 1147, 749, 6817, 4965, 7377, 4023, 'x', 'Q', 1909, 'n', 'Y', 8203, 'l', 4551, 3325], [7797, 'f', 'M', '3591', '8519', 'g', '3487', 'o', '6881', 'V', 'Q', '3863', '2579', '1191', 'c', '3169', '1767', '555', '1963', 'E', 'O', 'g', 'F', 'S', 'N', '4877', 'C', 7237, 'y', 'T', 'c', 'p', 'h']