In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5461, 'f', 4503, 'y', '6095', 'r', 'p', 'C', 'V'], ['J', 'k', 'i', 'y', '6095', 'r', 'A', 'k', 6947]