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

[Q]: [2227, 8603, '9943', 'E', '4351', 't', 'l', 'x'], [5983, 'q', '9943', 'E', '4351', 'V', 4367]
[A]: 9943, E, 4351


[Q]: ['J', 6791, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'i', 'n', 'R', 9199, 455, 'i'], [4051, 8463, 'i', 6667, 'N', 'k', 'X', 2629, 'I', 'O', 5057, 1059, 4265, 'B', 3819, 'c', 9941, 'R', 'a', 5545, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'a', 9953, 6229, 'F', 2985]
[A]: x, f, n, 5565, 4103, q, n, h, 625, 2981, 3243, q, 2705, 5505, s, 4423, j, 9819, 3841, Z


[Q]: [7391, 2293, 6555, 9633, 'm', 'B', 'E', '1381', '6217', '6287', '2573', '8857', 'm', 'Y', '5971', 'd', '8973', 's', '1515', 'i', '9535', '2219', 'x', 'J', '7263', '4443', '9271', 'l', '693', 'K', 'a', 'T', 'X', 'y', 'T', 287, 'W', 9459, 'I'], [6209, 4497, 'B', 'E', '1381', '6217', '6287', '2573', '8857', 'm', 'Y', '5971', 'd', '8973', 's', '1515', 'i', '9535', '2219', 'x', 'J', '7263', '4443', '9271', 'l', '693', 'd', 8049, 'A', 6441, 'S', 8821, 8319, 3541, 8379, 'V', 'r', 611, 'd', 485, 2199, 'p', 8591, 'U', 'y']
[A]:
B, E, 1381, 6217, 6287, 2573, 8857, m, Y, 5971, d, 8973, s, 1515, i, 9535, 2219, x, J, 7263, 4443, 9271, l, 693