In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 'a', 5441, 'w', '4013', '3757', 'D', 'Y', 'l', '315', 'w', '3303', 'y', '5451', 'I', 'W', 'N', 'I', 'd', 8511], ['a', 'l', 'X', 'Y', 'l', 'w', '4013', '3757', 'D', 'Y', 'l', '315', 'w', '3303', 'y', '5451', 'I', 'W', 'N', 'V', 1875, 'g', 3875]