In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5265, 4593, 'Z', 'X', 'S', 3615, 687, 3303, 4089, 293, 'r', 8177, 'b', 'b', 'J', 'b', '7671', '9085', 'k', '9813', 'g', '6517', 'n', 'Q', 'K', '6825', '6171', 'B', 'W', 'G', '7227', '2365', 'C', 'N', 'L', 'c', '4289', '1731', 'h', 'm', 'v', 'L', 'A', 8741, 9043, 'q', 9319, 5271, 1811, 'f', 'F', 'R', 3905, 4055, 689, 'a', 353, 'c', 'r', 6629], ['D', 7671, 3901, 'S', 273, 'Y', 7375, 2405, 519, 5865, 2601, 509, 2233, 1355, 'J', 'J', 5997, 4193, 8763, 'b', 'b', 'J', 'b', '7671', '9085', 'k', '9813', 'g', '6517', 'n', 'Q', 'K', '6825', '6171', 'B', 'W', 'G', '7227', '2365', 'C', 'N', 'L', 'c', '4289', '1731', 'h', 'm', 'v', 'y', 9407, 'T', 1821]