In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7955, 'p', 7195, 'j', 5105, 9439, 'Q', 'y', 'B', 947, 'c', '5777', 'f', '6147', 'a', '7409', '8255', '4861', '7193', 'F', 'M', 'f', '2069', 'o', '7721', '4681', 'C', 'F', 4963, 4473, 5911, 643, 's', 'x', 6669, 7133, 61, 'a', 9451, 'A', 1705], [8155, 1827, 'c', '5777', 'f', '6147', 'a', '7409', '8255', '4861', '7193', 'F', 'M', 'f', '2069', 'o', '7721', '4681', 's', 2661, 'C', 'l', 'V', 3451, 5745, 1039, 2621, 6723, 'g', 3743, 'a']