In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1375, 1989, 3823, 'F', 'K', 'd', 'u', 'W', 'e', 'J'], ['S', 1357, 'd', 'F', 'K', 'd', 'u', 'W', 'u', 'c', 9343, 'Y']