In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[51, 7421, 757, 9091, 'l', 'U', 6693, 9031, 'W', '4055', '1025', '2001', 'V', 's', '2713', '6265', 'S', 'V', '2869', 'J', 'r', 'h', 'u', 'B', 'H', 4705], [9851, 3141, 'x', 'X', 'g', 5879, 1503, 5827, '4055', '1025', '2001', 'V', 's', '2713', '6265', 'S', 'V', '2869', 'J', 'r', 'h', 'F', 6029, 'o', 7017, 'Q', 'U', 9533, 'u', 9841, 7713]