In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7001, 'w', 4289, 'T', 'V', '2363', 'Z', 1605, 'w'], ['c', 2087, 'F', 'T', 'V', '2363', 'E', 'k', 4439]