In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7845, 'J', 9639, 7493, 'V', 'h', 'e', '2063', 'j', 'y', 'e', 'c', 'V', 5841], [5167, 'A', 'a', 6217, 'V', 'h', 'e', '2063', 'j', 'd', 2031]