In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2907, 'f', 9767, 'k', 3937, 365, 'f', 2521, 'C', '4793', 'C', 'b', 'P', 'm', 'V', 'a', '4949', '6725', 'b', 'v', 'G', 'j', 'N', '2815', '249', 'g', 'X', 2799, 2479, 'R', 9299, 'A', 'g', 'w', 6507, 9935, 6729, 9487, 'f', 569], [6709, 4135, 'F', 2399, 'Y', 'Q', 'Y', 'w', 9303, 'q', 'C', '4793', 'C', 'b', 'P', 'm', 'V', 'a', '4949', '6725', 'b', 'v', 'G', 'j', 'N', '2815', '249', 'g', 'y', 8235, 'U', 3625, 3789, 9789, 8127, 3597, 'Q', 9989, 337, 'd', 8029]