In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['w', 7575, 'i', 'w', 1031, 'g', 'Q', 'p', 'j', 'R', 'd', 'W', 's', 'L', '1639', '4739', 'V', '3253', 'P', 'Y', '1005', 'R', '5769', 'Y', 'd', 'h', 'E', 'b', 9811, 4183, 7721, 'u', 'O', 8649, 4223, 4617, 5551, 1681], ['x', 'M', 3433, 'n', 'J', 'V', 'X', 3463, 'T', 'u', 'c', 'H', 'Y', 439, 3527, 'p', 'j', 'R', 'd', 'W', 's', 'L', '1639', '4739', 'V', '3253', 'P', 'Y', '1005', 'R', '5769', 'Y', 'd', 'h', 'm', 5459, 31, 7951, 'P', 'V', 4319, 2463, 5563, 'n', 1301, 1521]