In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8317, 'k', 'u', 6857, 7591, 3319, 9917, 'L', 'n', 2897, 5143, 'V', '597', '2069', '787', '925', '5701', 'T', 'r', 'i', '4053', 'C', 'w', 'a', 'y', 9065], ['i', 9415, 8447, 'o', 'a', 8061, 'M', 9015, 7319, 'Y', 'V', '597', '2069', '787', '925', '5701', 'T', 'r', 'i', '4053', 'C', 'd', 5139, 'T', 1195, 'W', 'A']