In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[365, 5121, 7621, 6265, 199, 'B', 5211, '2045', 'l', 'W', 'Y', 'O', 'L', '8789', 'b', 9461, 6385, 'r'], [1699, 4351, 2049, '2045', 'l', 'W', 'Y', 'O', 'L', '8789', 'W', 'P', 7483]