In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3719, 'L', 7889, 3373, 'a', 7631, 'H', 'q', 6135, 9033, 'X', '7327', 'v', '6473', 'a', '5647', 'r', '5031', '6727', 'B', 'S', '1545', 'h', '7849', 'f', '4879', '5259', 'v', '7355', '3617', 'x', '2075', 'J', '9961', 'G', '1765', 'f', 'k', 707, 'L'], ['T', 4287, 's', 6449, 5231, 'w', 'X', '7327', 'v', '6473', 'a', '5647', 'r', '5031', '6727', 'B', 'S', '1545', 'h', '7849', 'f', '4879', '5259', 'v', '7355', '3617', 'x', '2075', 'J', '9961', 'G', '1765', 'I', 3839, 'a', 7877, 5115]