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: [3067, 'Y', 'u', 's', 'L', 8515, 7281, 4621, 513, 'b', 6655, 3193, 1603, 'a', 's', 'A', '1613', 'x', '1765', 'D', '5689', '5603', '5129', '2677', 'b', 'R', '4497', 'S', 'n', '9819', 'H', '9039', '2959', '3825', '2379', 'V', 'O', 'R', '653', 'P', 'W', 'd', 'E', 'k', 'W', 'w', 1921, 'N', 7987, 1003, 'S', 957, 687, 'w', 3097, 'u'], [3831, 2395, 1871, 4783, 'f', 8117, 'R', 'v', 7351, 3519, 7115, 'e', 'U', 'Z', 'A', 6383, '1613', 'x', '1765', 'D', '5689', '5603', '5129', '2677', 'b', 'R', '4497', 'S', 'n', '9819', 'H', '9039', '2959', '3825', '2379', 'V', 'O', 'R', '653', 'P', 'W', 'd', 'E', 'k', 'W', 'l', 9153, 7577, 8079, 2089, 3625, 4563, 4317, 6999, 'P', 4911, 9795, 7081, 8777, 7437, 61, 'W']
A:
1613, x, 1765, D, 5689, 5603, 5129, 2677, b, R, 4497, S, n, 9819, H, 9039, 2959, 3825, 2379, V, O, R, 653, P, W, d, E, k, W