In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5475, 'V', 575, 'h', 'y', '951', '629', 'o', 'W', 'u', 4127, 7611, 8879, 'k'], ['u', 3505, 'o', 'y', '951', '629', 'o', 'W', 'f', 'f']