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

[EX Q]: ['b', 'Z', 'n', 'O', 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'k', 833, 9001], [6221, 'H', 'w', 6543, 'o', 1523, 'W', 6091, 'T', 7021, 8161, 1111, 4653, 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'j', 5791, 3573, 9639, 'a', 4089, 5045, 'e', 'i', 'S', 3157, 1767, 2199, 'P']
[EX A]: x, K, J, 5997, 8241, O, 9965, n, 6043, p, 8943, F, O, 2181

[EX Q]: ['f', 'I', 'G', 627, 6145, 4779, '7903', 'c', '6667', 'j', 'N', 'F', '8035', 'E', 'u', 'V', '3605', 'y', '9445', '1541', '6709', 'Z', 'g', 'W', '7809', 't', '1887', 's', 'a', 9101, 2313, 't', 1319, 7473, 'p', 'a', 'd', 2643, 3033, 8709], [6835, 'a', 'g', 6065, 'v', 'm', 3313, 'V', '7903', 'c', '6667', 'j', 'N', 'F', '8035', 'E', 'u', 'V', '3605', 'y', '9445', '1541', '6709', 'Z', 'g', 'W', '7809', 't', '1887', 'X', 609, 'c', 6763, 2011, 'u', 'I', 8969, 315, 1553, 967, 'c', 'W', 9607, 'u', 'E', 'g', 3559, 'd', 99]
[EX A]: 7903, c, 6667, j, N, F, 8035, E, u, V, 3605, y, 9445, 1541, 6709, Z, g, W, 7809, t, 1887

[EX Q]: ['Q', 3991, '3165', '2277', '8401', '6601', '5627', 'E', 'c', 'I', 'i', '2999', '3943', 'K', 4565, 9429], [3087, 'n', 8853, 1011, 5269, 6025, 9755, 6699, 'S', 7501, '3165', '2277', '8401', '6601', '5627', 'E', 'c', 'I', 'i', '2999', '3943', 'f', 7189, 'M', 4599, 'i', 'L', 'a', 'k']
[EX A]:
3165, 2277, 8401, 6601, 5627, E, c, I, i, 2999, 3943