In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5329, 2241, 7701, 'q', 7907, 'm', 'G', '1643', '6877', 'f', '297', 'D', 'p', '1439', '8971', '2981', 'p', '9079', '8269', 'L', 'F', 'N', '2931', '1509', '5933', 'r', 'S', 'm', '7439', 'V', 'a', 6975, 'c', 'T', 'w', 225], [8279, 3703, 7427, 7145, 3015, 8603, 'b', 9185, 'B', 'R', '1643', '6877', 'f', '297', 'D', 'p', '1439', '8971', '2981', 'p', '9079', '8269', 'L', 'F', 'N', '2931', '1509', '5933', 'r', 'S', 'm', '7439', 'J', 'a', 'i', 'd', 'Q', 5087, 7269, 'l', 5201, 6211, 2597, 'm', 2077, 2593]