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

Q: [4817, 'A', '3155', 'W', 'm', 4061], [7701, 'P', '3155', 'W', 't', 'J']

A: 3155, W
****
Q: [605, 'W', 7189, 'X', '7897', '5823', 'P', '9001', 'J', 'r', 2595], ['z', 'W', '7897', '5823', 'P', '9001', 'J', 'Z', 'w']

A: 7897, 5823, P, 9001, J
****
Q: [3737, 759, '4359', 'N', '3885', '8683', '121', '6779', '3337', 'w', '10003', 'K', 'k', 'p', 'o', '7751', 'I', '5479', 'P', '7887', '2571', '4239', 'l', 'B', '5935', 'u', 'X', 'l', 7175, 'X', 1795, 'm', 8083, 5905, 'K', 8155, 3871, 2233, 'S'], ['q', 4135, 'P', 'N', 5051, 'i', 5299, 'p', 't', 3315, 6751, 5467, 'Z', '4359', 'N', '3885', '8683', '121', '6779', '3337', 'w', '10003', 'K', 'k', 'p', 'o', '7751', 'I', '5479', 'P', '7887', '2571', '4239', 'l', 'B', '5935', 'v', 5629, 'E', 9671, 'b', 1787, 101, 6187, 5903, 2345, 'x', 2105, 7057, 'O', 1929, 25, 'P', 'Y', 7613, 'J', 6895]

A:
4359, N, 3885, 8683, 121, 6779, 3337, w, 10003, K, k, p, o, 7751, I, 5479, P, 7887, 2571, 4239, l, B, 5935
****