In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7003, 'X', 'Q', '5375', 'q', '1583', 'a', 'S', 'L', '4253', '6077', 'i', 'w', 1555, 's', 2995, 2175, 'w', 6979], [5007, 't', 2687, 9239, 853, '5375', 'q', '1583', 'a', 'S', 'L', '4253', '6077', 'i', 'Z', 3253, 5857, 8657]