In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Example: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Example solution: 8297, b
Example explanation: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].

Problem: [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]
Solution: 1643, 6877, f, 297, D, p, 1439, 8971, 2981, p, 9079, 8269, L, F, N, 2931, 1509, 5933, r, S, m, 7439