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: [2627, 367, 'w', 'u', 'Z', 6545, 's', '3661', '5145', 'B', '7273', 'p', '5217', '1455', '3723', 'R', '6717', 'C', 'Q', '13', '5915', 'D', '4211', '6393', 'Y', 'D', '4837', '917', '4547', 'T', '7231', 'Z', 'R', 'o', 8351, 9775, 'D', 'Q', 6157, 4739, 'O', 3007, 2663, 1763, 'U', 5995], ['D', 4893, 9841, 'p', 8459, 'D', 6709, 4545, 'W', 2825, 7785, 7553, 2003, 'd', 777, 547, 'M', 2763, 'p', 'J', 'U', 'L', 'E', 6401, 'Z', 'G', '3661', '5145', 'B', '7273', 'p', '5217', '1455', '3723', 'R', '6717', 'C', 'Q', '13', '5915', 'D', '4211', '6393', 'Y', 'D', '4837', '917', '4547', 'T', '7231', 'Z', 'R', 'i', 'A', 'u', 'b', 2805, 4059, 'V', 9355, 'v', 727, 521, 't', 'o', 3565, 'j', 'J', 'M', 'X']
Solution: 3661, 5145, B, 7273, p, 5217, 1455, 3723, R, 6717, C, Q, 13, 5915, D, 4211, 6393, Y, D, 4837, 917, 4547, T, 7231, Z, R