Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [7971, 2319, '9097', '6697', '9355', '6157', 'a', 2765, 6501], [805, 'C', 'C', '9097', '6697', '9355', '6157', 'v', 7389]
Output:
9097, 6697, 9355, 6157