In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5319, 757, 7547, '5125', 'B', '4505', '1841', '1629', 'd', 'A', '5139', 'h', '3371', '6867', '583', 'Y', '1205', '3085', '9445', 'u', 'b', 'K', '2641', '8045', 'e', '4657', '3749', '5765', 'g', 'x', 9673, 'b', 5385, 'Q', 'Z', 'q', 1639, 'R', 3821, 'T', 571, 9453, 'A', 3801, 'e', 1003, 'x'], ['g', 1007, 1247, 7569, 9109, 2519, 'D', '5125', 'B', '4505', '1841', '1629', 'd', 'A', '5139', 'h', '3371', '6867', '583', 'Y', '1205', '3085', '9445', 'u', 'b', 'K', '2641', '8045', 'e', '4657', '3749', '5765', 'g', 'Q', 't', 'A', 'c', 'Y', 6139, 'a', 'g', 4417, 1495, 'r', 7609, 'w', 'B', 4397, 'J', 433, 6979, 'H', 'g', 'd', 2165, 1593, 'u', 'u']