In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 7319, 'F', 'K', 5093, 'X', 'V', 8809, 4047, 'f', 2097, '9511', 'Y', 'T', '8721', '5063', 'b', 'b', 'g', 'N', '7159', 'J', 'j', 'x', 3313, 8979, 1379, 4757, 6471], ['d', 'z', 10023, 6493, '9511', 'Y', 'T', '8721', '5063', 'b', 'b', 'g', 'N', '7159', 'J', 'j', 'r', 'R']