In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6141, 353, 'e', 1605, 3661, '9937', '3155', '3189', '6477', '4929', 'U', '2339', 'G', 'y', 'R', 3455, 'T', 'u', 6585], ['o', 'D', 589, '9937', '3155', '3189', '6477', '4929', 'U', '2339', 'Z', 'S', 's', 3757, 'n', 'F']