In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[127, 'J', 'v', 6999, 'g', 'G', 1965, 'E', 8699, 7579, 9265, 6993, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'L', 851, 9385, 8367, 'J'], [1577, 'y', 121, 6195, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'T', 'M', 'l', 'D', 'z', 9687, 1645, 'W', 1249, 5527, 297]