In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7029, 6193, 'Z', 6395, 'c', 'm', 'b', 1837, 'Y', '6113', '7187', 'q', '3009', 'N', '3061', '865', 'm', 'V', 'T', 8889, 'a', 's', 'V', 5329, 'p', 'A'], ['S', 6759, 'N', 1031, 8971, 'I', '6113', '7187', 'q', '3009', 'N', '3061', '865', 'm', 'V', 9447, 5143, 'V', 'v']