In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4065, 7107, 'L', 3591, 6507, 359, 539, 8347, '3801', '5101', '6639', '10021', '6027', '1507', '3817', '3689', 'S', 'H', '5983', '591', 'o', '6799', '5613', 'R', '83', '293', '8865', 'G', 'C', 'f', 'Y', '8363', 'u', 5073, 'Q', 'C'], ['Z', 'R', 5963, 2419, 3737, 5475, '3801', '5101', '6639', '10021', '6027', '1507', '3817', '3689', 'S', 'H', '5983', '591', 'o', '6799', '5613', 'R', '83', '293', '8865', 'G', 'C', 'f', 'Y', '8363', 'Q', 6783, 5481, 's', 5543, 'c', 'X', 'q', 'g', 4019, 6325]