In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 8757, 7299, 5187, 4391, 'G', 'r', '2421', 'p', '9429', 'J', 'b', '889', '5643', '181', 'u', '1797', '2783', 'D', 'X', 'w', 'Y'], ['U', 467, 4807, 6449, 'I', 'l', 9991, 8167, 'Y', 'r', '2421', 'p', '9429', 'J', 'b', '889', '5643', '181', 'u', '1797', '2783', 'D', 'X', 'Y', 'I', 5831, 'b', 9103, 't', 705, 9445, 'n', 'C']