In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2405, 6709, 1351, 'P', '9275', 'O', 'c', 'V', '2509', '1293', '2663', 'u', '8709', '6195', '6939', 'm', 9175, 8519], [5243, 'c', 'g', '9275', 'O', 'c', 'V', '2509', '1293', '2663', 'u', '8709', '6195', '6939', 'y', 't', 'v', 'K', 7797, 'g', 5747, 8687, 'L']