In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 'U', 'r', 9611, 1563, 1711, 5357, 'N', '2091', '7579', '5825', '4755', 'H', '6349', '6083', 'p', 'd', 8371], [5367, 'Y', 6341, 'N', '2091', '7579', '5825', '4755', 'H', '6349', '6083', 'h', 6637, 9247, 5211, 2569, 'R', 'Z', 8633]