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

[Q]: [1231, 'a', 9367, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'e', 6603, 'm', 8145, 'L', 's', 1273, 9291, 'X'], [5773, 'D', 'W', 'F', 5987, 'D', 'H', 2095, 'I', 'X', 29, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'C', 'a']
[A]: 155, r, 1473, 5679, 3161, L, e, b, m, 9427, 2001, 5293, 3487, K, 6467, S


[Q]: ['n', 'E', '2891', '7537', 'Q', 'J'], [2247, 10017, '2891', '7537', 'e', 1001]
[A]: 2891, 7537


[Q]: ['Y', 6191, 'v', 1393, 't', '5597', '5717', 'e', '6297', '169', 'J', '7541', '2349', 'U', 'L', 'b', '1663', 'd', '19', '7143', 'i', '2339', 'y', '4331', '2065', '9509', 's', 'R', 9029, 'm', 9569, 2003, 'P', 'Q', 'h', 'Z', 9665, 5929, 9289, 5197, 6925, 1199, 3509, 8069], ['B', 'B', '5597', '5717', 'e', '6297', '169', 'J', '7541', '2349', 'U', 'L', 'b', '1663', 'd', '19', '7143', 'i', '2339', 'y', '4331', '2065', '9509', 's', 'K', 'q', 1299, 'm', 'M']
[A]:
5597, 5717, e, 6297, 169, J, 7541, 2349, U, L, b, 1663, d, 19, 7143, i, 2339, y, 4331, 2065, 9509, s