Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [9483, 'W', 7683, 2367, '9115', '493', 'D', '9859', '5073', '3615', 'D', 4605, 9665, 2871, 'e'], ['N', 1071, 3599, 4893, '9115', '493', 'D', '9859', '5073', '3615', 'M', 2733, 'v', 4797, 9927]
Output:
9115, 493, D, 9859, 5073, 3615