Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [8833, 'F', 15, 'I', 'v', '6401', 'd', 173, 'Z'], [1225, 'z', 'I', 'v', '6401', 'p', 4403, 5813]
Output:
I, v, 6401