In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2503, 6917, 6369, 'w', '1369', '4567', '33', '2839', '5393', '5863', 'g', '199', '193', 'y', 1285, 8661, 'z', 6719], [1765, 9413, 3231, 4069, 8811, 'Z', 'R', 8155, '1369', '4567', '33', '2839', '5393', '5863', 'g', '199', '193', 'p', 6451, 7653]