In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 6005, 5085, 3313, 5539, 'K', '1923', 'b', 'L', 'f', '2151', '8067', 'x', '6433', '4711', 'Z', '5647', '9271', 'Y', 'Y', '7671', 'c', 'R', 9979, 1255, 5529, 1221], [669, 4637, 'F', 5819, 'e', 3967, 1467, 'm', 'r', 'r', 8603, 2129, 5583, 4125, '1923', 'b', 'L', 'f', '2151', '8067', 'x', '6433', '4711', 'Z', '5647', '9271', 'Y', 'Y', '7671', 'O', 'G', 'Y', 'X', 'R', 715, 3727, 9537, 739, 'Q', 'n', 'A', 'I', 'v', 'U']