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

[Q]: ['L', 1653, 4833, 3597, 'B', 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'K', 4721, 'L', 'H', 'F', 'y', 2849], [9635, 3451, 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'd', 'f']
[A]: A, g, 6735, 6737, 6929, 3051, v, 1223, 497


[Q]: ['h', 'L', 2481, 8463, 1309, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'o', 'I', 4133, 't', 'i'], ['P', 5497, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'I', 2251, 'p', 's', 'n', 'k', 8259]
[A]: 7587, 521, a, 1617, 5245, 5629, 9977


[Q]: [4389, 4149, 2537, 7061, '8213', '5373', '611', '4237', 'X', 'W', 'l', 'x', 5321, 4091], ['z', 4749, 2781, 'g', 'l', '8213', '5373', '611', '4237', 'X', 'h', 'z', 'A']
[A]:
8213, 5373, 611, 4237, X