In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6259, 'Z', 'F', 'p', 4141, 8619, 5081, 'M', 'u', '6907', 'd', '8277', '1607', '6499', '7843', '6585', '745', '1241', 'e', 'M', '2411', '4405', 'Z', '2001', 'u', '2549', 'n', '5747', 'k', 383, 4735, 1257, 'G', 2035, 969, 'W', 1233], ['J', 7665, 3385, 'q', 'j', 'c', 5307, 2957, 'M', 'q', 2031, 9331, 'S', 'z', 4151, 6277, 't', 'M', 'u', '6907', 'd', '8277', '1607', '6499', '7843', '6585', '745', '1241', 'e', 'M', '2411', '4405', 'Z', '2001', 'u', '2549', 'n', '5747', 'j', 'b', 'I']