In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8803, 'Q', 'w', 6397, 'i', 9403, 'r', 'V', '7881', 'd', 'q', '2989', 'e', 'd', 'y', '8813', 'g', 5479, 1247, 7437, 'V', 'j'], ['O', 5931, '7881', 'd', 'q', '2989', 'e', 'd', 'y', '8813', 'c', 'U', 'Q', 249, 6145, 'C']