Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [6127, 'f', 'Z', '2195', 'A', 1487], ['R', 'j', 'Z', '2195', 'Q', 7217]
Output:
Z, 2195