In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example input: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Example output: 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'].
Q: [2747, 'r', 9555, 9005, 'A', 'o', 'u', 639, 8231, 6721, 8347, 'y', 2985, 'j', '3441', 'B', 'P', '9057', '8419', '7761', 'L', '2787', 'D', '2377', '8617', 'u', '2491', '6999', '9757', 'G', 'k', 'e', 7121, 'L', 'h', 'c', 'D', 1793, 'b', 8679, 3157, 6753, 'H', 8099, 'k', 9869, 'i', 'l'], [4573, 9659, 2025, 8287, 'K', 73, 8199, 'D', 1479, 'r', '3441', 'B', 'P', '9057', '8419', '7761', 'L', '2787', 'D', '2377', '8617', 'u', '2491', '6999', '9757', 'G', 'k', 'z', 'N', 'v', 6599, 625, 9475, 'P', 3381, 5477]
A:
3441, B, P, 9057, 8419, 7761, L, 2787, D, 2377, 8617, u, 2491, 6999, 9757, G, k