In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3729, 'A', 'V', 8461, 3187, 8809, 3737, 9859, 5943, 'R', '8379', 'j', 'b', 'g', '4261', 'v', '7825', '6809', 'O', '29', 'V', 'o', 6049, 'C', 'h'], [7951, 'z', 'i', 4517, 2741, 8497, 1107, 'X', '8379', 'j', 'b', 'g', '4261', 'v', '7825', '6809', 'O', '29', 'V', 'v', 1721, 2347, 'c', 'R', 'G', 'g', 7305, 'c', 'U']