In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1381, 6885, 'H', 8827, 'K', 'y', 'q', 'j', 'X', 'g', '9839', 'f', 'z', 'I', 6923, 10029, 'p', 1069, 'r', 'V'], ['i', 9959, 'y', 'q', 'j', 'X', 'g', '9839', 'f', 'z', 'd', 6501, 'u', 2219, 'C', 3207, 'P']