In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 'w', 'z', 'n', 4865, 915, 'v', 'z', 'q', 'O', 5665, 9939, 6571, 5051, 7343, 'b', '4131', 'L', '9137', '285', 'K', 'p', 'b', 'A', '2121', '1063', 'm', 'F', '329', 'k', 'Z', 'n', '5295', '6853', '6825', '4377', 'i', '8723', '9965', '6685', 'u', 'z', 'K', 8391, 781, 9479, 421, 'm', 7943, 7953, 9933, 5427, 1729, 'f', 2825, 8743], [6145, 9071, 1687, 2135, 'j', 'R', 3315, 6317, 2987, 'i', 'l', 9167, 'n', 'v', 8645, 'G', 'Y', 'b', '4131', 'L', '9137', '285', 'K', 'p', 'b', 'A', '2121', '1063', 'm', 'F', '329', 'k', 'Z', 'n', '5295', '6853', '6825', '4377', 'i', '8723', '9965', '6685', 'u', 'T', 'r', 'k', 1051, 6105, 'G', 'J', 'u', 'a', 'k', 1555, 4749]