In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8775, 2371, 4453, 'l', 'p', 7749, 'Y', 'f', 'j', 'q', 'l', 'v', 'h', '1121', '7089', '9959', '1931', 'z', 'H', '9597', 'o', 'M', 169, 'h', 5725, 7093, 'f', 769], [373, 'o', 5151, 7955, 8269, 5681, 'j', 'q', 'l', 'v', 'h', '1121', '7089', '9959', '1931', 'z', 'H', '9597', 't', 5957, 929, 5027, 2037, 'H', 'O', 3045, 6437, 'b', 'w']