In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5925, 'M', 'h', 5379, 7177, 'n', 'v', 't', 'D', '6775', 'N', '5739', '5201', '7783', '5629', '63', 'h', '4341', 'c', '3795', '8447', 'i', 'a', 'L', '87', '1337', '4443', 'q', '9707', 'N', '741', '4093', '9179', '6975', 'L', '5851', '7203', '167', '4527', 'r', 'd', 8945, 'S', 6345, 'B', 'Y', 'u', 1831, 959, 'm', 'Z', 'b', 3851, 3197, 'K', 'z', 2299, 3835, 2995, 'x', 'i'], [6871, 'h', 7005, 6509, 467, 'T', 6487, 's', 335, 3809, '6775', 'N', '5739', '5201', '7783', '5629', '63', 'h', '4341', 'c', '3795', '8447', 'i', 'a', 'L', '87', '1337', '4443', 'q', '9707', 'N', '741', '4093', '9179', '6975', 'L', '5851', '7203', '167', '4527', 'b', 'Y', 'N', 7223, 3401, 'V', 405, 'Z', 'F', 'Q', 8259, 'y', 8551, 5055, 'P', 2005, 'G', 4813, 'C', 7271, 'c', 'M', 'Z', 5817, 8559, 3765, 2837, 161, 1263]