In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3095, 'O', 'g', 'c', 'Z', 5521, 10003, 1631, '767', '6091', 'N', 'J', 'e', '1439', 'w', 'U', 'L', 'R', 'v', 1479, 5103], [4859, 'B', 'J', 685, 3481, '767', '6091', 'N', 'J', 'e', '1439', 'w', 'U', 'L', 'R', 'Z', 'j']