In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3731, 'I', 'u', '8779', 'W', '8653', 'p', 'P', 8863], ['C', 'K', 'l', '8779', 'W', '8653', 'C', 'k', 'f']