In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 'Z', 'v', '2329', 'T', '4429', '7721', 'B', 'L', 'Z', 'i', 5823], ['H', 5125, 'T', 8737, 'h', 'v', '2329', 'T', '4429', '7721', 'X', 'N', 'N']