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

[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]: ['s', 'u', 'I', 't', '5653', '1351', 'p', 'n', 'V', '4089', '3689', 'D', '8733', 'e', 'h', '7295', '3557', 'i', '3711', '953', '1577', '2329', '261', '559', 'J', 'n', 'V', 7375, 'p'], ['a', 7915, 'C', 'G', 7485, 1217, 'k', 'w', 'Z', 7599, 'E', '5653', '1351', 'p', 'n', 'V', '4089', '3689', 'D', '8733', 'e', 'h', '7295', '3557', 'i', '3711', '953', '1577', '2329', '261', '559', 'J', 'n', 'Z', 7089, 'N', 1657, 'T', 5555, 5727, 1115, 'G', 'e']
[A]: 5653, 1351, p, n, V, 4089, 3689, D, 8733, e, h, 7295, 3557, i, 3711, 953, 1577, 2329, 261, 559, J, n


[Q]: ['g', 'o', 'K', 'X', 9677, 'q', 1251, 4179, 6963, 'T', 4417, 2249, 'F', 'p', 7577, 'r', 'l', 'J', 2807, 'y', 'V', 10019, 'c', 6807, 'Z', '6381', 'A', '3829', 'g', '1715', 'S', 's', '5069', 'y', '703', 'Y', 'd', '5227', '6245', '8655', 'C', '8095', 'e', 'h', '6187', '9551', 'Y', 'l', '5763', '6327', '7247', 'w', 'l', 'Y', 'W', 'p', 'r', 1521, 'I', 5353, 'i', 'E', 'y', 'q', 341], [4183, 8399, 'X', 7179, 'X', 'f', 'm', '6381', 'A', '3829', 'g', '1715', 'S', 's', '5069', 'y', '703', 'Y', 'd', '5227', '6245', '8655', 'C', '8095', 'e', 'h', '6187', '9551', 'Y', 'l', '5763', '6327', '7247', 'w', 'l', 'Y', 'Y', 'p', 7169, 'y', 'q', 'R', 7747, 3071, 'U', 3877, 731, 9133, 5709, 'Z', 'W', 797, 5357, 8505, 'R', 5549, 9679, 't', 'J', 8519, 'B']
[A]:
6381, A, 3829, g, 1715, S, s, 5069, y, 703, Y, d, 5227, 6245, 8655, C, 8095, e, h, 6187, 9551, Y, l, 5763, 6327, 7247, w, l, Y