In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9827, 'n', 6173, 4987, 8321, 9045, '9959', 'g', 'E', 'A', 'z', '751', 'a', '9123', 'P', '7099', 'a', 7233, 8021, 2951], [4185, 7021, 7351, 1995, 'W', 1299, 5123, 'l', 'J', '9959', 'g', 'E', 'A', 'z', '751', 'a', '9123', 'P', '7099', 'R', 'z', 'C', 7253, 'l', 9757, 2759]