In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5021, 'K', 'F', 8453, 4691, 7649, 131, 7999, 'N', '3639', 's', '6825', 'Z', '4397', 'X', 'w', '9561', 'a', 'W', 'H', 'v', 'Y', 'F', 89, 1813, 1185, 'j', 2525], [9, 6683, 4733, 1165, 'A', 2479, 8287, 'x', 'C', 'H', 'j', 9145, 6227, '3639', 's', '6825', 'Z', '4397', 'X', 'w', '9561', 'a', 'W', 'H', 'v', 'Y', 'L', 'i', 'j', 'h', 'O', 'i']