In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['L', 5809, 5609, 4053, 'O', 'm', 'b', 3197, 'r', 'j', 'm', 4123, 'Y', 8321, 'm', 8515, 'w', 7767, 7085, 'T', 6797, 'x', 'q', 4131, 'h', 969, 'T', 'M', 'p', 'd', '9717', '2047', 'i', 'N', 'U', '6035', 'z', 'D', '4369', '2185', 'w', '9059', 'B', '283', '3253', '3757', 'D', '6131', '6107', 'H', '8201', 'H', 'N', '6751', 'v', 9145, 193, 'I', 'b', 'r'], [1629, 6355, 'D', 'W', 6421, 5389, 'O', 'I', 'o', 'x', 9205, 'Z', 'l', 5529, 'Q', 'M', 'p', 'd', '9717', '2047', 'i', 'N', 'U', '6035', 'z', 'D', '4369', '2185', 'w', '9059', 'B', '283', '3253', '3757', 'D', '6131', '6107', 'H', '8201', 'H', 'N', '6751', 'O', 'U', 'A', 'z', 3535, 9289, 5363, 3781, 'b', 3197, 'U', 7483, 1205, 'F', 463]